diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-05 05:47:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-05 05:47:23 +0000 |
commit | 5acdd8422ccd01d993902ec56439f2e99d7f7560 (patch) | |
tree | 8c13cfdfccf578534230c41b3ddc40bc79b46161 /x11 | |
parent | 3a4967237a1ba1382210c11f3b4e607326221152 (diff) | |
download | pkgsrc-5acdd8422ccd01d993902ec56439f2e99d7f7560.tar.gz |
Add support for USE_BUILDLINK_ONLY packages. This has no effect on KDE2
packages that don't define USE_BUILDLINK_ONLY.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kde2/Makefile.part2 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/x11/kde2/Makefile.part2 b/x11/kde2/Makefile.part2 index 42b6397633b..507db1decd2 100644 --- a/x11/kde2/Makefile.part2 +++ b/x11/kde2/Makefile.part2 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.part2,v 1.3 2001/07/05 05:45:04 jlam Exp $ +# $NetBSD: Makefile.part2,v 1.4 2001/07/05 05:47:23 jlam Exp $ # USE_X11BASE= YES USE_GMAKE= YES @@ -6,6 +6,16 @@ USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/admin/ltconfig GNU_CONFIGURE= YES +.if defined(USE_BUILDLINK_ONLY) +CONFIGURE_ARGS= \ + --datadir="${PREFIX}/share/kde" \ + --with-ssl-dir="${BUILDLINK_DIR}" \ + --with-qt-dir="${BUILDLINK_QTDIR}" \ + --with-qt-includes="${BUILDLINK_QTDIR}/include" \ + --with-qt-libraries="${QTDIR}/lib" \ + --with-extra-libs="${LOCALBASE}/lib:${X11BASE}/lib" \ + --with-extra-includes="${BUILDLINK_DIR}/include" +.else USE_SSL= YES EVAL_PREFIX+= QT2DIR=qt2-libs CONFIGURE_ARGS= \ @@ -16,6 +26,7 @@ CONFIGURE_ARGS= \ --with-qt-libraries="${QT2DIR}/qt2/lib" \ --with-extra-libs="${LOCALBASE}/lib:${X11BASE}/lib" \ --with-extra-includes="${LOCALBASE}/include:${X11BASE}/include" +.endif CONFIGURE_ENV= \ KDEDIR="${PREFIX}" \ @@ -34,3 +45,7 @@ CONFIGURE_ENV= \ kde_templatesdir="${PREFIX}/share/kde/templates" \ kde_servicesdir="${PREFIX}/share/kde/services" \ kde_servicetypesdir="${PREFIX}/share/kde/servicetypes" + +.if defined(USE_BUILDLINK_ONLY) +.include "../../x11/qt2-libs/buildlink.mk" +.endif |