diff options
author | Will Andrews <will@FreeBSD.org> | 2003-06-23 18:14:38 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2003-06-23 18:14:38 +0000 |
commit | 4ccb00cdbedc8012afd805c9c4c9d7265302682c (patch) | |
tree | e0c5e42c6d36c94a68887e0897322932b83d4370 /Mk/bsd.kde.mk | |
parent | 8eeca6ffa3a64b8d98a456315159bfcc5719efcc (diff) | |
download | ports-4ccb00cdbedc8012afd805c9c4c9d7265302682c.tar.gz ports-4ccb00cdbedc8012afd805c9c4c9d7265302682c.zip |
Notes
Diffstat (limited to 'Mk/bsd.kde.mk')
-rw-r--r-- | Mk/bsd.kde.mk | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk index e76a4d3dec41..421977c9d355 100644 --- a/Mk/bsd.kde.mk +++ b/Mk/bsd.kde.mk @@ -50,7 +50,10 @@ MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@${ksub}/@g} # USE_KDEBASE_VER section .if defined(USE_KDEBASE_VER) -.if ${USE_KDEBASE_VER} == 3 +.if ${USE_KDEBASE_VER} == CVS +LIB_DEPENDS+= konq:${PORTSDIR}/x11/kdebase +USE_KDELIBS_VER=CVS +.elif ${USE_KDEBASE_VER} == 3 # kdebase 3.x common stuff LIB_DEPENDS+= konq:${PORTSDIR}/x11/kdebase3 USE_KDELIBS_VER=3 @@ -62,7 +65,11 @@ USE_KDELIBS_VER=2 # USE_KDELIBS_VER section .if defined(USE_KDELIBS_VER) -.if ${USE_KDELIBS_VER} == 3 +.if ${USE_KDELIBS_VER} == CVS +LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs +USE_QT_VER= CVS +PREFIX= ${KDE_CVS_PREFIX} +.elif ${USE_KDELIBS_VER} == 3 # kdelibs 3.x common stuff LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs3 USE_QT_VER= 3 @@ -89,6 +96,24 @@ QTDIR= ${X11BASE} .endif # defined(PREFIX) CONFIGURE_ENV+= MOC="${MOC}" QTDIR="${QTDIR}" +.elif ${USE_QT_VER} == CVS + +KDE_CVS_PREFIX?= ${LOCALBASE}/kde-cvs +QT_CVS_PREFIX?= ${X11BASE}/qt-cvs +QTCPPFLAGS?= +QTCFGLIBS?= + +MOC?= ${QT_CVS_PREFIX}/bin/moc +BUILD_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy +RUN_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy +QTCPPFLAGS+= -D_GETOPT_H # added to work around broken getopt.h #inc +.if !defined (QT_NONSTANDARD) +CONFIGURE_ARGS+=--with-extra-libs="${LOCALBASE}/lib" \ + --with-extra-includes="${LOCALBASE}/include" +CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \ + QTDIR="${QT_CVS_PREFIX}" KDEDIR="${KDE_CVS_PREFIX}" +.endif + .elif ${USE_QT_VER} == 3 # Yeah, it's namespace pollution, but this is really the best place for this |