pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/SDL Disable dlopen for libraries and instead lin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d486661282d7
branches:  trunk
changeset: 515346:d486661282d7
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Jul 01 18:18:17 2006 +0000

description:
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:

 devel/SDL/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c6bef8e2d6f2 -r d486661282d7 devel/SDL/Makefile
--- a/devel/SDL/Makefile        Sat Jul 01 17:26:47 2006 +0000
+++ b/devel/SDL/Makefile        Sat Jul 01 18:18:17 2006 +0000
@@ -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 @@
 PTHREAD_OPTS+=         require
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+CONFIGURE_ARGS+=       --disable-sdl-dlopen
+
 .include "options.mk"
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index