summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorjmmv <jmmv>2006-07-01 18:18:17 +0000
committerjmmv <jmmv>2006-07-01 18:18:17 +0000
commitb45efe8da3387430bdfabf7ac8d771c11a26afdf (patch)
tree404eb426992044d800447aeecbd9bdf3f69281d1 /devel/SDL
parent39e8d93aedc4e3b55f188f8b0c5eafbd59eba06e (diff)
downloadpkgsrc-b45efe8da3387430bdfabf7ac8d771c11a26afdf.tar.gz
Disable dlopen for libraries and instead link the SDL library to them
directly. This didn't work because dlopen uses the rpath of the foremost binary (not libSDL's one); therefore, some libraries could not be found. For example, qemu was not working at all because it only has PREFIX in its rpath, not X11PREFIX, and so libSDL could not load libX11 resulting in a very strange error message. There seem to be other problems such as the aalib video output crashing or the wscons output not working, but these aren't very important (maybe the problems have already gone away with this fix, I don't know). Anyway, I think the former is fixed in 1.2.11. Bump PKGREVISION to 1.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index 493992f8cd5..6adbfee3c19 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2006/06/15 09:45:05 adam Exp $
+# $NetBSD: Makefile,v 1.66 2006/07/01 18:18:17 jmmv Exp $
DISTNAME= SDL-1.2.10
+PKGREVISION= 1
CATEGORIES= devel games
MASTER_SITES= http://www.libsdl.org/release/
@@ -15,6 +16,8 @@ GNU_CONFIGURE= yes
PTHREAD_OPTS+= require
PKG_INSTALLATION_TYPES= overwrite pkgviews
+CONFIGURE_ARGS+= --disable-sdl-dlopen
+
.include "options.mk"
.include "../../mk/bsd.prefs.mk"