Commit graph

65 commits

Author SHA1 Message Date
jlam
50e873b45d Use pthread.buildlink2.mk instead of pth/buildlink.mk. 2002-08-31 03:06:37 +00:00
jlam
a36f1836ae Remove buildlink.mk files that aren't used by any other files in pkgsrc. 2002-08-28 08:05:31 +00:00
jlam
4c962884ad buildlink1 and buildlink2 can't be mixed at all. 2002-08-27 18:21:18 +00:00
jlam
32341d5bcc buildlink1 -> buildlink2. 2002-08-27 18:19:44 +00:00
martti
fab15e1423 Use ../../graphics/aalib-x11/buildlink2.mk 2002-08-27 08:25:52 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jlam
27cae62d46 These packages install libraries that differ from previous versions if they
are built using the hard-syscall-enabled pth.  Bump the PKGREVISION so we
can distinguish these packages from the previous ones.
2002-08-08 16:17:04 +00:00
jlam
6114321176 Convert to use pthread.buildlink.mk. 2002-08-01 06:40:50 +00:00
kristerw
938a09509a SDL configure checks if libusb or libusbhid is present on the system, but
it tried to use both if both was found (which caused conflicts.)

Solves PR 17602.
2002-07-15 23:04:20 +00:00
kristerw
3eea6e5501 Add USB joystick support (and bump version to 1.2.3nb1). The implementation
is taken from the SDL development repository, with some bugfixes from me.

Solves PR 17374.
2002-07-14 07:28:39 +00:00
wiz
da709ece99 Remove build dependency on automake by providing patches.
Requested and tested by Nick Hudson.
2002-07-13 16:17:33 +00:00
tron
902f07db37 Back out last change on request by Thomas Klausner and Nick Hudson:
Setting "USE_PTHREADS" in a buildlink file will cause problems if the
package which includes it wants to use different POSIX threads libraries.
2002-06-25 06:54:43 +00:00
tron
36dd4c1f2a Use native POSIX threads if operating system provides them. This fixes
PR pkg/17177 by Julio Merino and PR pkg/17259 by Lubomir Sedlacik.
2002-06-24 20:25:25 +00:00
wiz
4aa068ea11 Remove BUILDLINK_DEPENDS.pth line, since it's the same as in pth's
buildlink.mk.
2002-06-15 21:33:50 +00:00
wiz
afd6822248 Update to 1.2.3; based on pkg/15580 by Ben Wong.
Relevant changes for NetBSD:
* 1.2.3: Added X11 Xinerama support - fullscreen starts on screen 0
* 1.2.3: Added platform independent OpenGL Header - SDL_opengl.h
* 1.2.3: Fixed crash when using double-buffering with DGA
* 1.2.3: Fixed XVideo on GeForce by using last available adaptor
* 1.2.3: Added 640x480 as a scaled resolution for NTSC/PAL output
2002-02-14 00:39:45 +00:00
agc
8e1a5e022a Use the new aalib-x11 package in preference to the "no X11" aalib package.
Fix provided by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15271
2002-01-31 13:53:41 +00:00
tron
99d5373aa9 Include buildlink glue code for "aalib" package. This fixes build problems
in e.g. the "avifile-devel" package.
2002-01-03 19:11:40 +00:00
hubertf
21d59dcead 1.2.2nb1 for AAlib support 2002-01-03 01:32:12 +00:00
hubertf
41c4cdf91c add support for graphics/aalib
Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15115
2002-01-03 01:31:46 +00:00
jlam
4b27fb2df8 Pass in LDFLAGS via SYSTEM_LIBS as it's used as the linker options for
finding various libraries.  This ensure that any unusual -Wl,-R options
are noted correctly in the generated sdl-config.  This should fix problems
noted by various people that building packages that depend on SDL bomb out
with this error:

checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!
*** Error code 1

Stop.

In particular, it fixes pkg/14833 and pkg/14912 by Robert Elz.
2001-12-11 16:30:45 +00:00
jlam
4c38713d7b A dependency on automake implies a dependency on autoconf; there's no need
to list them both when we listing just automake will do.
2001-11-29 19:46:10 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
rh
0c0bf65c68 Add patch missing in previous commit 2001-09-24 14:29:39 +00:00
rh
024804d8b4 Update SDL to 1.2.2. Changes include:
* Native NetBSD audio support
    * Now gets correct keyboard state when starting up on X11
    * Improved the DGA 2.0 and framebuffer console drivers
    * Improved OSS audio driver support, thanks to 4Front Tech.
    * Improved X11 fullscreen support, works better with KDE
2001-09-24 14:28:55 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
7bb7d15273 Missing closing " 2001-07-14 15:51:47 +00:00
jlam
99646439a3 Reliably detect NAS headers when NAS is enabled, and remove references to
/usr/pkg/{include,lib} from the configure script.  SDL now really meets
the criteria for USE_BUILDLINK_ONLY.
2001-07-14 15:45:34 +00:00
jlam
765714a6a8 Didn't need to bump dependencies on SDL to >=1.2.1. >=1.2.0 is sufficient
for all the apps in pkgsrc.
2001-07-14 13:17:00 +00:00
rh
3077aa755a Update SDL to 1.2.1. Changes include:
* Added Linux PlayStation 2 Graphics Synthesizer support
    * Added an audio driver that writes to disk
    * Mouse wheel sends mouse button (4/5) events on Windows
    * Added MacOS X Project Builder projects
    * Added initial support for Quartz video
    * Disabled Linux /dev/event joystick interface by default
    * Added native OpenBSD audio driver
    * Added detection of Open Sound System on Solaris x86
    * Added initial support for Nano-X
    * Fixed endian detection on IA64 architectures
    * Added --disable-dga configure option to disable DGA
    * Fixed stuck keys when changing the video mode
    * Fixed double-mouse event bug on Windows using OpenGL
    * Fixed 320x200 video mode on framebuffer console
    * Improved robustness for the ELO touchpad
    * Added support for building under Cygwin on Windows
    * Added a dummy video driver for benchmarking
    * Fixed fullscreen cursor offset bug on BeOS
2001-07-03 06:17:32 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
cb19604bda Invoke autoreconf with --foreign so that automake won't complain about
missing "GNU-required" files like NEW, AUTHORS, etc.
2001-07-01 20:13:14 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
jlam
3129c05fce Replace for location of sdl-config in other packages' config scripts. 2001-06-28 21:41:21 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
jlam
df32277c4a Add buildlink.mk file for use by other package Makefiles. 2001-06-26 03:57:29 +00:00
jlam
680f6c1e65 Remove patch to hermes/Makefile.in as we already patch Makefile.am
Also patch src/Makefile.am instead of the Makefile.in file as automake
will destroy the changes otherwise.
2001-06-26 03:49:24 +00:00
jlam
46288bd12e Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-26 03:29:17 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
rh
681044f11d Don't let SDL randomly pick up NAS support. Add SDL_USE_NAS variable that,
if present, causes SDL to depend on NAS.  Disable NAS support if
SDL_USE_NAS is not defined.  Fixes PR 12784 by Eric Mumpower
<nocturne@arepa.co>
2001-05-06 12:48:56 +00:00
rh
4a00add4e6 Make SDL compile under a.out systems: only use "-f elf" on ELF systems. 2001-05-05 13:47:12 +00:00
rh
b3cbe0924f Add '--tag' for hermes nasm statements to Makefile.am as well. This should
fix bulk building and PR 12746.
2001-04-28 14:27:34 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00