Commit graph

35 commits

Author SHA1 Message Date
wiz
6ac47b68a4 Slightly different solution to previous:
just ignore mmx pkg_option if set on non-i386.
2005-06-10 18:20:06 +00:00
wiz
debb654ddb Wrap complete options part in ifdef i386,
since there is only one option and that only on i386.
Fixes bulk build problem.
2005-06-10 18:09:45 +00:00
wiz
362be97679 Convert to options framework. 2005-06-01 20:13:08 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
wiz
a5a959d384 Update email address (old one bounces). 2004-12-05 13:56:11 +00:00
cube
d24b17b105 For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned.
  For now that only includes i386, but we might find amd64 users in the
  future.
o test against [Yy][Ee][Ss], for consistency.

Fixes part of PR 26243.
2004-07-12 19:27:05 +00:00
snj
043b753096 Convert to buildlink3. 2004-04-11 16:58:18 +00:00
grant
398893a6b4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:36:03 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
kristerw
7af0b90e7f Make this build with gcc3.3.
From Stefan Kruger in PR 22590.
2003-09-21 18:22:14 +00:00
jmmv
310646b3a5 Line up PKGREVISION whitespace. 2003-05-05 16:21:10 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
kristerw
c520677573 Make this compile for a.out too.
PKGREVISION++
2002-12-30 21:40:10 +00:00
kristerw
4a2eba7ebf Change the USE_MMX test to check for != "NO" instead of == "YES" to
be consistent with the other USE_MMX-using packages.
Add USE_MMX to BUILD_DEFS.
2002-12-28 17:18:01 +00:00
wiz
29f012dbbf buildlink1 -> buildlink2. 2002-10-13 12:09:13 +00:00
kristerw
095431af44 Make the package compile for ${MACHINE_ARCH} != "i386". 2002-08-15 00:16:35 +00:00
jlam
75e61cb884 Adjust to new pthread.buildlink.mk: remove USE_PTHREAD and replace with
appropriate PTHREAD_OPTS incantation, and move the checks for the value
of PTHREAD_TYPE below the inclusion of pthread.buildlink.mk.
2002-08-01 05:48:00 +00:00
kristerw
efb8443596 Add USB joystick support (and bump version to 1.39nb1) using (somewhat
modified) patches provided by Rui-Xiang Guo in PR 15566.
2002-07-14 07:44:43 +00:00
kristerw
0dd1d6e48a Update snes9x to version 1.39.
Changes since snes9x-1.37.3 include:
- Fixed a timing problem caused by a speed up hack that was affecting Top Gear
  3000. No the game still isn't playable, but I noticed the problem while
  investigating the DSP-4 chip used by the game.
- Added support for Star Ocean and Street Fighter 2 Alpha decompressed graphics
  packs from dejap. Used a binary chop search rather than a linear search to
  locate correct decompressed graphics more quickly - should help emulation
  speed during later stages of the game.
- Included the latest ZSNES DSP-1 code. Now Pilotwings, SD Racer and Suzuka 8
  Hours are playable. Aim For The Ace, Super Air Diver 1 & 2 and Syutoko
  Battle 94 are also playable, but with bugs. Thanks to zsKnight, _demo_, et
  al for all their hard work.
- Another Daffy Duck: Marvin Missions screen flicker problem worked around -
  writing to the IRQ enable register shouldn't clear any pending IRQs, but
  Sieken 3 seems to require this or else the game hangs. Special-cased Daffy
  Duck for now.
- An NMI emulation bug was triggering a Panic Bomberman World game bug,
  crashing it. Basically, if a game enables NMIs after the normal trigger
  point, the NMI should not trigger if the game has already read the NMI clear
  register.
- Panic Bomberman World requires SPC700 memory to be initialised to zero on
  reset otherwise the game hangs when a tune finishes and another one should
  start.
- Added an offset hack for Strike Gunner to get the scrolling ground layer
  to line up correctly - another offset-per-tile bug hacked around for now.
- Hmm. The broken cut-scenes in Deep Space 9 seem to indicate that I haven't
  got the emulated clock speed of the 65c816 CPU correct yet. And not by a
  little bit - a 9% too slow error. Hacked special timing for the game for now.
- Fixed another crash bug in the interpolated mode 7 code - if no scaling
  was being used (either up or down) and screen repeat was enabled and the
  screen was flipped horizontally, the routine would crash Snes9x. Was causing
  Snes9x to crash during rock monster boss stage of Castlevania 4.
- Oops. Got the initialisation of the default SNES screen width and height
  round the wrong way - could cause a X Windows System error message on the
  UNIX port after loading a ZSNES freeze file.

The package has been changed to use the oss sound instead of the sun
sound driver. This improves the sound quality.
2002-07-08 01:04:09 +00:00
wiz
49aabe0814 Use pthread.buildlink.mk instead of pth's buildlink.mk.
pkg/17270 by Lubomir Sedlacik.
2002-06-15 21:09:38 +00:00
jmc
387bbfd45f Fix so if not building on x86 it never tries to pull x86 assembly into the code. 2002-02-19 05:30:39 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
11ab3b23a8 Update to 1.37.3, based on pkg/13070 by Jared D. McNeill; buildlinked.
Lots of emulation-related fixes and improvements.
2001-07-17 15:31:24 +00:00
agc
7e2fedb405 Move to sha1 digests, and add distfile sizes. 2001-04-20 10:49:52 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
89ee2c787f Fix compilation on -current after 2001/01/18 (since zconf.h doesn't
defined OF() anymore). Fixes pkg/12255 by Rui-Xiang Guo.
2001-03-13 13:46:56 +00:00
wiz
311d465268 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 18:38:11 +00:00
wiz
8b3076e790 Check for DGA lib in X11BASE, based on a suggestion by hubertf. 2000-11-16 19:14:12 +00:00
wiz
0ddf0141f4 Update to 1.32. Changes are mainly bugfixes (see the installed CHANGES.TXT).
Package change: DGA detection, instead of hardcoding on i386.
2000-11-16 02:27:04 +00:00
wiz
4a2ade2d92 Fix package compilation to work on non-i386/ELF. Assembler only used
on i386/ELF, even though it could perhaps be made to work on i386/a.out.
DGA is also only enabled on i386 for now -- don't know of a good way
to check for DGA support.
2000-11-09 17:25:54 +00:00
wiz
eeeb3fc79a Import snes9x, a SNES (Super Nintendo) emulator. Package provided by
Jared D. McNeill in pkg/11439, touched up by me.

XXX: i386/ELF only for now, patch-ab and patch-ac improve compilation on
a.out, but linking fails (underbar problems).
2000-11-09 16:43:40 +00:00