diff options
author | reed <reed@pkgsrc.org> | 2004-07-06 16:01:10 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-07-06 16:01:10 +0000 |
commit | cf91cf264b6d38781b6444b2afd9d14b14c69fcf (patch) | |
tree | 26aa8fd38584dda00d8f379f9cda82ce7c8789cc /x11/qt3-libs/Makefile.common | |
parent | a53398616a1d7197fb11753af3348c7fa40c8231 (diff) | |
download | pkgsrc-cf91cf264b6d38781b6444b2afd9d14b14c69fcf.tar.gz |
Convert qt3-libs to use BUILDLINK3. Based on patches from Joachim
Kuebart in PR#25753. Tested by myself on Linux and NetBSD 1.6.2_STABLE.
(Also tested on NetBSD 2.0_BETA by wiz@. And tested by jschauma
under Linux.)
Diffstat (limited to 'x11/qt3-libs/Makefile.common')
-rw-r--r-- | x11/qt3-libs/Makefile.common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common index 185367b5454..cfda1ead923 100644 --- a/x11/qt3-libs/Makefile.common +++ b/x11/qt3-libs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.30 2004/03/30 21:50:19 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.31 2004/07/06 16:01:10 reed Exp $ # DISTNAME= qt-x11-free-${QTVERSION} CATEGORIES= x11 @@ -26,8 +26,7 @@ CONFIGURE_ARGS+= -prefix ${QTPREFIX} CONFIGURE_ARGS+= -shared -sm -thread -no-stl \ -system-zlib -system-libpng \ -system-libmng -system-libjpeg \ - -I${BUILDLINK_DIR}/include \ - -L${BUILDLINK_DIR}/lib + ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//} CONFIGURE_ARGS+= -qt-gif # qt3 does not write compressed GIFs CONFIGURE_ARGS+= < ${FILESDIR}/license-acceptance @@ -89,6 +88,8 @@ post-patch: -e 's:@AR@:${AR}:g' \ -e 's:@LIBQT@:${LIBQT}:g' \ -e 's:@PTHREAD_LDFLAGS@:${PTHREAD_LDFLAGS}:g' \ + -e 's:@_COMPILER_LD_FLAG@:${_COMPILER_LD_FLAG}:g' \ + -e 's:@_OPSYS_RPATH_NAME@:${_OPSYS_RPATH_NAME}:g' \ ${FILESDIR}/qmake.conf > ${WRKSRC}/qmake.conf for dir in ${WRKSRC}/mkspecs/*; do \ ${CP} ${WRKSRC}/qmake.conf $${dir}; \ |