pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Fix build problems caused by Mac OS X Leo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a9eb0fc497d
branches:  trunk
changeset: 536578:1a9eb0fc497d
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Dec 17 18:21:31 2007 +0000

description:
Fix build problems caused by Mac OS X Leopard linker work around in
the "MesaLib" package.

diffstat:

 x11/qt3-libs/Makefile.common |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81a927e05090 -r 1a9eb0fc497d x11/qt3-libs/Makefile.common
--- a/x11/qt3-libs/Makefile.common      Mon Dec 17 18:20:33 2007 +0000
+++ b/x11/qt3-libs/Makefile.common      Mon Dec 17 18:21:31 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.68 2007/10/15 11:59:49 abs Exp $
+# $NetBSD: Makefile.common,v 1.69 2007/12/17 18:21:31 tron Exp $
 
 DISTNAME=      qt-x11-free-${QTVERSION}
 CATEGORIES=    x11
@@ -24,7 +24,7 @@
 CONFIGURE_ARGS+=       -shared -sm -thread \
                        -system-zlib -system-libpng \
                        -system-libmng -system-libjpeg \
-                       ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//}
+                       ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//:S/-dylib_file//:C/.*\.dylib\:.*\.dylib//}
 CONFIGURE_ARGS+=       -qt-gif # qt3 does not write compressed GIFs
 
 CONFIGURE_ARGS+=       < ${FILESDIR}/license-acceptance
@@ -123,7 +123,7 @@
                -e 's:@LIBTOOL@:${LIBTOOL}:g' \
                -e 's:@CC@:${CC}:g' \
                -e 's:@CXX@:${CXX}:g' \
-               -e 's:@LDFLAGS@:${LDFLAGS}:g' \
+               -e 's:@LDFLAGS@:${LDFLAGS:S/:/\\:/g}:g' \
                -e 's:@CFLAGS@:${CFLAGS}:g' \
                -e 's:@CXXFLAGS@:${CXXFLAGS}:g' \
                -e 's:@SYS_LIBS@:${SYS_LIBS}:g' \



Home | Main Index | Thread Index | Old Index