Commit graph

133 commits

Author SHA1 Message Date
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
adam
05bc5ada2b Changes 1.2.9:
* Added support for direct color 8-bpp surfaces
* Altivec optimized blitters
* SDL.dll works on Windows 95 again
* Dropping a document onto an SDL app passes it as a command line parameter in MacOS X
* Fixed crash trying to allocate hardware surfaces on MacOS X
* Fixed short read problem with SDL_RWFromMem()
* Fixed gcc parse errors in SDL_audio.h on Windows
* Added support for Tru64 UNIX 4.X
* Improved RISC OS support
* Numerous improvements to the Atari port
* SDL_OPENGLBLIT is officially obsolete
2005-09-07 10:15:39 +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
wiz
7319db0a4e Better DragonFlyBSD support from Joerg Sonnenberger.
. find USB headers
. fix joystick support
2005-05-31 17:37:50 +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
wiz
76785f1db5 Support for DragonFlyBSD, based on patches from Joerg Sonnenberger. 2005-05-20 20:08:40 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
67b834a329 Bump PKGREVISION for removal of glut dependency. 2005-03-27 14:45:47 +00:00
wiz
6b3ee63145 Use MesaLib/bl3 and glu/bl3 instead of Mesa/bl3, which
also pulls in an unnecessary dependency on glut.
Addresses PR 29799 by Richard Rauch.
2005-03-27 14:43:47 +00:00
uebayasi
71960dee9e Fix quoting. 2005-03-07 09:41:45 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
kristerw
81d15a073e GCC 2 does not understand the MMX asm core. Fall back to the C source
for GCC 2.
2005-01-12 22:58:19 +00:00
drochner
1031ae2e10 The "+" constraint modifier was yoo much. While it seems correct to me, it
caused gcc complaints in some cases. Pointed out by Nicolas Joly.
PR pkg/28882 should be fixed now.
2005-01-06 16:32:01 +00:00
drochner
9711cbfc62 tighten an inline asm constraint for amd64 2005-01-06 12:25:23 +00:00
adam
f94bbda334 Changes 1.2.8:
* Fixed compiling under newer versions of gcc
* Fixed floating point exception with Linux 2.6 joysticks
* Added 4/6 channel surround sound support on ALSA (not 3D audio)
* Fixed mouse coordinate inversion on MacOS X
* Added a CoreAudio sound driver for MacOS X
* Added MacOS X Xcode build environment support
* Updated QNX support for QNX6
* Improved Atari port, including OSMesa support
* Numerous other bug fixes and platform support improvements
2005-01-05 12:05:19 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
hubertf
1a9aac4eaf Document why we don't need Mesa on Irix.
If more pkgs like this are found that work fine with Irix'
native GL, the Mesa buildlink3.mk file should take care of this.
2004-08-24 21:07:04 +00:00
hubertf
e9c00e23b6 Don't pull in Mesa on IRIX - patch by Staffan Thomén (duck@IRC) 2004-08-23 23:57:20 +00:00
dillo
a0e044de84 Reduce audio delay in the *BSD audio driver (by configuring audio
device with shorter block size and lower water marks).
PKGREVISION++
2004-07-26 20:42:27 +00:00
wiz
207ea645b6 Patch to make audio work on IRIX 5, from Georg Schwarz. 2004-07-19 10:48:46 +00:00
kristerw
c192ecf95f Make this package build on NetBSD ports that do not have
<machine/joystick.h>.
2004-07-13 20:51:58 +00:00
drochner
9a99283870 apply some patches from SDL CVS which fix inline assembler to compile
with gcc-3.4.x
left out a part which requires support for the "named parameter"
syntax which is not present on NetBSD-1.6.x/gcc-2.95.x
This is obviously not needed because the real variable names and
the abstract parameter names are identical.
(see PR pkg/25855 by John R. Shannon for details)
The next SDL release will probably require to install gcc-3.3.x
on NetBSD-1.6.x.
2004-07-09 18:19:09 +00:00
dillo
e815167d6c fix HATs on USB joysticks that don't report up as 0.
bump PKGREVISION
2004-06-22 09:10:12 +00:00
dillo
a4c6706b7f USB joystick: number axes in usual order (X, Y, ...), not in order
returned by device.  Makes joysticks that return Z before X usable.
2004-06-05 14:04:21 +00:00
snj
961db477a7 Convert to buildlink3. 2004-05-05 03:36:22 +00:00
grant
3d0129ec64 indentation fix, drop unneeded parens. 2004-05-04 21:58:43 +00:00
grant
a0a08bd7a1 add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on
Darwin.

fixes build problem reported and confirmed fixed by Randy Beaudreault.
2004-05-04 21:58:07 +00:00
snj
c1f46e5893 Update to SDL-1.2.7.
Changes:
* SDL no longer sets a fatal signal handler for SIGPIPE
* Fixed modifier key state on MacOS X
* Added support for remote XVideo
* Fixed static linking on MacOS X
* Fixed compiling with broken Linux 2.6 headers
* Fixed mouse cursor visibility and focus events on MacOS X
* Added support for /dev/joy* on Free/Net/OpenBSD
* Fixed problems with CD-ROM audio playback on MacOS X 10.1
* Added dynamic GL library loading to MacOS Carbon support
* Added function to create RWops from const memory: SDL_RWFromConstMem()
* Fixed build problems with newer versions of automake
* Fixed MacOS X libtool framework support
* Added CPU feature detection functions to SDL_cpuinfo.h
* Fixed illegal instruction crash using 3DNow on Intel processors
* Fixed asm issues with mmx.h and gcc 3.3
* Fixed crash calling app defined window proc
* Fixed long long constant warnings in GCC 3.3.1
* Fixed joystick open problems on BSD
* Fixed X11 mode line crash with only one video mode

Fixes PR pkg/22462.

Okayed by wiz@.
2004-04-17 00:15:21 +00:00
snj
a97936193d SDL/SDL_opengl.h includes GL/glu.h, so we need to use
graphics/Mesa/buildlink[23].mk to pull in glu.
2004-03-23 04:37:38 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
19e040b6dc CONFIG_STATUS_OVERRIDE is the default in bsd.pkg.mk, so no need for these
definitions here.
2004-02-14 13:55:19 +00:00
jlam
f1d09febbf Override config.status so that it doesn't run again during the build and
overwrite our libtool replacement.  Fixes PR 24407.
2004-02-13 17:29:20 +00:00
jlam
0e2d98c903 Just use Mesa/buildlink3.mk if we need MesaLib & glut. 2004-02-13 17:15:02 +00:00
abs
a1d0b1b68b USE_LANGUAGES=c c++ 2004-02-11 01:46:30 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
recht
b4dc7ac829 replace the SDL mmx gcc3 compile-fix with the one that went into
SDL CVS
provided by Stephane Marchesin
2004-01-10 13:57:12 +00:00
jlam
88b7405a35 Again, include buildlink3.mk files when using buildlink3. 2004-01-10 05:46:44 +00:00
jlam
2bef6db58f bl3ify 2004-01-05 22:44:04 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
reed
53ea1a0253 Revert my change so sdl-config is not buildlinked. Like, imlib-config
this caused a problem where now smpeg-config had the "buildlink"
directory hard-coded in the smpeg-config script.
(Instead smpeg's Makefile can define SDL_CONFIG in the CONFIGURE_ENV
to make sure it uses correct sdl-config. I haven't made that change yet.)
2003-12-08 20:25:51 +00:00
reed
010c66156c Make sure the *-config scripts are buildlinked too.
(As discussed on tech-pkg in late October; okay'd by wiz then.)
2003-12-03 01:37:57 +00:00
heinz
a8ebc7d8cd On i386, depend on devel/binutils. Makes SDL compile on NetBSD 1.5.x
again (fix from PR pkg/23121, thanks to Ian.Fry at sophos com)"
2003-10-29 20:54:58 +00:00
kristerw
515369e600 Make SDL compile with gcc 3.3 too, by applying patches provided by
Marc Recht in response to PR pkg/23268.
2003-10-27 23:19:46 +00:00
drochner
8699a220f1 look for a CDROM also at /dev/cd?d; should fix PR pkg/22803 by
Peter Seebach
2003-09-16 17:03:44 +00:00