aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.kde4.mk
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-11-14 23:56:53 +0800
committerwill <will@FreeBSD.org>2001-11-14 23:56:53 +0800
commit7542ee97ee0788dcfaf64effe22a98bec9288e79 (patch)
treeab02b4087b3a5e9e44fba967be133d5170df2a57 /Mk/bsd.kde4.mk
parentb35d384bf500a8a5f6d614dff6439f7eeecd463d (diff)
downloadfreebsd-ports-gnome-7542ee97ee0788dcfaf64effe22a98bec9288e79.tar.gz
freebsd-ports-gnome-7542ee97ee0788dcfaf64effe22a98bec9288e79.tar.zst
freebsd-ports-gnome-7542ee97ee0788dcfaf64effe22a98bec9288e79.zip
(QT3/KDE3 only:) Use alternate dependency style; fix looking for qt
libraries. kdelibs from cvs building now in kde/freebsd repository.
Diffstat (limited to 'Mk/bsd.kde4.mk')
-rw-r--r--Mk/bsd.kde4.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 013d75af4129..059bedae243f 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -111,7 +111,8 @@ QTCGFLIBS?=
# Qt 3.x common stuff
QT_PREFIX?= ${X11BASE}/qt
MOC?= ${QT_PREFIX}/bin/moc
-LIB_DEPENDS+= qt:${PORTSDIR}/x11-toolkits/qt-copy
+BUILD_DEPENDS+= ${X11BASE}/qt/bin/moc:${PORTSDIR}/x11-toolkits/qt-copy
+RUN_DEPENDS+= ${X11BASE}/qt/bin/moc:${PORTSDIR}/x11-toolkits/qt-copy
USE_NEWGCC= yes
QTCPPFLAGS+= -I/usr/include -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include/qt
@@ -119,7 +120,7 @@ QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
-L${QT_PREFIX}/lib
.if !defined(QT_NONSTANDARD)
CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
- --with-qt-libraries=${X11BASE}/lib \
+ --with-qt-libraries=${QT_PREFIX}/lib \
--with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
.endif