summaryrefslogtreecommitdiff
path: root/x11/qt2-libs/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-23 19:35:27 +0000
committerjlam <jlam@pkgsrc.org>2001-06-23 19:35:27 +0000
commitada00ab7d3521a84affe34d93ead75ec9cfbb776 (patch)
tree9feba05758df6595f07c46204c08ba236f8a650a /x11/qt2-libs/Makefile
parent10b20dedaed15d9707e86c30f5e401d66fcb1b72 (diff)
downloadpkgsrc-ada00ab7d3521a84affe34d93ead75ec9cfbb776.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Handle
-L and rpath specifications in the config files by directly substituting their final values; this is needed since the configure script directly manipulates these values via sed and needs the substituted values, not just ${VAR}. Also honor CXXFLAGS passed in from the environment (possibly containing optimization flags) during the build.
Diffstat (limited to 'x11/qt2-libs/Makefile')
-rw-r--r--x11/qt2-libs/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/x11/qt2-libs/Makefile b/x11/qt2-libs/Makefile
index 3faef530411..9e8b0832ad3 100644
--- a/x11/qt2-libs/Makefile
+++ b/x11/qt2-libs/Makefile
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.10 2001/05/22 09:32:28 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/06/23 19:35:27 jlam Exp $
#
-USE_MESA= yes
+#USE_MESA= yes
.include "../qt2-libs/Makefile.common"
-PKGNAME= qt2-libs-${QTVERSION}
+PKGNAME= qt2-libs-${QTVERSION}
+COMMENT= C++ X GUI toolkit
-COMMENT= C++ X GUI toolkit
+USE_BUILDLINK_ONLY= yes
+CONFIGURE_ARGS+= -I${BUILDLINK_DIR}/include
+CONFIGURE_ARGS+= -L${BUILDLINK_DIR}/lib
-DEPENDS+= png>=1.0.11:../../graphics/png
-DEPENDS+= mng-1.0.0:../../graphics/mng
-DEPENDS+= jpeg-*:../../graphics/jpeg
-
-CONFIGURE_ENV+= QTDIR=${WRKSRC}
-MAKE_ENV+= QTDIR=${WRKSRC}
+CONFIGURE_ENV+= QTDIR="${WRKSRC}"
+MAKE_ENV+= QTDIR="${WRKSRC}"
ALL_TARGET= sub-src
@@ -26,4 +25,9 @@ do-install:
${INSTALL_DATA_DIR} ${QTPREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/* ${QTPREFIX}/include
+.include "../../devel/zlib/buildlink.mk"
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/Mesa/buildlink.mk"
+.include "../../graphics/mng/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
.include "../../mk/bsd.pkg.mk"