diff options
Diffstat (limited to 'x11/kde2')
-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 |