summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-09 20:59:42 +0000
committerjlam <jlam@pkgsrc.org>2002-10-09 20:59:42 +0000
commita3381b61dcf6260841bc3bf2491334c32d9d22b9 (patch)
tree55d40e8d5a26758c5194efaa9ea3a496f3170621 /x11
parent917d46efdf9cdeb8849c4ad28f8eee55a032fce8 (diff)
downloadpkgsrc-a3381b61dcf6260841bc3bf2491334c32d9d22b9.tar.gz
Don't hardcode the buildlink paths to the C/C++ compiler and to libtool
otherwise packages that use qmake will want to use the wrong ones.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt3-libs/Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common
index 7bab3cdf156..a0684ebc0f6 100644
--- a/x11/qt3-libs/Makefile.common
+++ b/x11/qt3-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2002/10/01 13:25:35 markd Exp $
+# $NetBSD: Makefile.common,v 1.10 2002/10/09 20:59:42 jlam Exp $
#
DISTNAME= qt-x11-free-${QTVERSION}
CATEGORIES= x11
@@ -63,15 +63,15 @@ post-patch:
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
-e 's:@X11BASE@:${X11BASE}:g' \
-e 's:@X11PREFIX@:${X11PREFIX}:g' \
- -e 's:@CC@:${CC}:g' \
- -e 's:@CXX@:${CXX}:g' \
+ -e 's:@LIBTOOL@:${BUILDLINK_LIBTOOL:T}:g' \
+ -e 's:@CC@:${BUILDLINK_CC:T}:g' \
+ -e 's:@CXX@:${BUILDLINK_CXX:T}:g' \
-e 's:@LDFLAGS@:${LDFLAGS}:g' \
-e 's:@CFLAGS@:${CFLAGS}:g' \
-e 's:@CXXFLAGS@:${CXXFLAGS}:g' \
-e 's:@SYS_LIBS@:${SYS_LIBS}:g' \
-e 's:@LEX@:${LEX}:g' \
-e 's:@YACC@:${YACC}:g' \
- -e 's:@LIBTOOL@:${PKGLIBTOOL}:g' \
${FILESDIR}/qmake.conf > ${WRKSRC}/qmake.conf
for dir in ${WRKSRC}/mkspecs/*; do \
${CP} ${WRKSRC}/qmake.conf $${dir}; \