summaryrefslogtreecommitdiff
path: root/x11/qt3-libs/Makefile.common
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 18:38:05 +0000
committerjlam <jlam>2002-08-25 18:38:05 +0000
commitb28e357f6ee52e603c887fc42483ea19558d4048 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /x11/qt3-libs/Makefile.common
parent4d330b06ae2802c2520909a77c9b2b5998f05140 (diff)
downloadpkgsrc-b28e357f6ee52e603c887fc42483ea19558d4048.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'x11/qt3-libs/Makefile.common')
-rw-r--r--x11/qt3-libs/Makefile.common20
1 files changed, 10 insertions, 10 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common
index fb69f91ff8f..87a405334a7 100644
--- a/x11/qt3-libs/Makefile.common
+++ b/x11/qt3-libs/Makefile.common
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.common,v 1.5 2002/05/29 19:09:55 skrll Exp $
+# $NetBSD: Makefile.common,v 1.6 2002/08/25 18:40:44 jlam Exp $
#
-DISTNAME= qt-x11-free-${QTVERSION}
-CATEGORIES= x11
-MASTER_SITES= \
- ftp://ftp.trolltech.com/qt/source/ \
- ftp://ftp.bero.org/pub/qt/source/
+DISTNAME= qt-x11-free-${QTVERSION}
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
+ ftp://ftp.bero.org/pub/qt/source/
.include "../qt3/Makefile.common"
@@ -40,12 +39,15 @@ PATCHDIR= ${.CURDIR}/../../x11/qt3-libs/patches
.if ${OPSYS} == "SunOS"
BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
-CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
+CXX= ${LOCALBASE}/egcs/bin/g++
CONFIGURE_ARGS+= -platform solaris-g++
.endif
post-patch:
${SED} \
+ -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:@LDFLAGS@:${LDFLAGS}:g' \
@@ -53,9 +55,7 @@ post-patch:
-e 's:@CXXFLAGS@:${CXXFLAGS}:g' \
-e 's:@LEX@:${LEX}:g' \
-e 's:@YACC@:${YACC}:g' \
- -e 's:@LIBTOOL@:${LIBTOOL}:g' \
- -e 's:@BUILDLINK_DIR@:${BUILDLINK_DIR}:g' \
- -e 's:@BUILDLINK_X11_DIR@:${BUILDLINK_X11_DIR}:g' \
+ -e 's:@LIBTOOL@:${PKGLIBTOOL}:g' \
${FILESDIR}/qmake.conf > ${WRKSRC}/qmake.conf
for dir in ${WRKSRC}/mkspecs/*; do \
${CP} ${WRKSRC}/qmake.conf $${dir}; \