summaryrefslogtreecommitdiff
path: root/x11/qt1/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-12 14:56:07 +0000
committerjoerg <joerg>2005-12-12 14:56:07 +0000
commitbe234f819ccf70d46b5b25c055238ada583fa194 (patch)
tree6dffb727d94f28a2404bfac84987a18e60c2855a /x11/qt1/Makefile
parentb6040619aa907584751304a36c1d26313cff26e6 (diff)
downloadpkgsrc-be234f819ccf70d46b5b25c055238ada583fa194.tar.gz
Add DragonFly support. Move two methods in qfont.h out of private scope,
GCC 3.4 doesn't allow a private methods as friends. XXX Should netbsd-g++-static be used for all platforms?
Diffstat (limited to 'x11/qt1/Makefile')
-rw-r--r--x11/qt1/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/qt1/Makefile b/x11/qt1/Makefile
index 6f6bfc47e09..788c2d9515d 100644
--- a/x11/qt1/Makefile
+++ b/x11/qt1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/12/05 20:51:18 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2005/12/12 14:56:07 joerg Exp $
#
DISTNAME= qt-1.44
@@ -29,8 +29,14 @@ PKG_SUPPORTED_OPTIONS= gif
.include "../../mk/bsd.options.mk"
.include "../../mk/x11.buildlink3.mk"
+.if ${OPSYS} == "DragonFly"
+QT1_PLATFORM= netbsd-g++-static
+.else
+QT1_PLATFORM= ${LOWER_OPSYS}-g++-static
+.endif
+
do-configure:
- @cd ${WRKSRC} && ${MAKE} QTDIR=${WRKSRC} ${LOWER_OPSYS}-g++-static
+ @cd ${WRKSRC} && ${MAKE} QTDIR=${WRKSRC} ${QT1_PLATFORM}
.if !empty(PKG_OPTIONS:Mgif)
post-patch: