aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-11-13 14:35:28 +0800
committerwill <will@FreeBSD.org>2001-11-13 14:35:28 +0800
commit53ca9397673942b520d9378932d69d67707a239b (patch)
treeb14c64be319bd2af70a9f1cf7ce0f82292ae7007 /Mk
parent64a2bb92c88f4d8fd70af4d8a791e689961d7b74 (diff)
downloadfreebsd-ports-gnome-53ca9397673942b520d9378932d69d67707a239b.tar.gz
freebsd-ports-gnome-53ca9397673942b520d9378932d69d67707a239b.tar.zst
freebsd-ports-gnome-53ca9397673942b520d9378932d69d67707a239b.zip
(QT3/KDE3 only:) Remove -lqt, this was a mistake.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde.mk9
-rw-r--r--Mk/bsd.kde4.mk9
2 files changed, 10 insertions, 8 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index e46a25cb3396..013d75af4129 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -109,15 +109,16 @@ QTCPPFLAGS?=
QTCGFLIBS?=
# Qt 3.x common stuff
-MOC?= ${X11BASE}/bin/moc
+QT_PREFIX?= ${X11BASE}/qt
+MOC?= ${QT_PREFIX}/bin/moc
LIB_DEPENDS+= qt:${PORTSDIR}/x11-toolkits/qt-copy
USE_NEWGCC= yes
QTCPPFLAGS+= -I/usr/include -I${LOCALBASE}/include -I${PREFIX}/include \
- -I${X11BASE}/include/qt
+ -I${QT_PREFIX}/include/qt
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
- -lqt
+ -L${QT_PREFIX}/lib
.if !defined(QT_NONSTANDARD)
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt \
+CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
--with-qt-libraries=${X11BASE}/lib \
--with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index e46a25cb3396..013d75af4129 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -109,15 +109,16 @@ QTCPPFLAGS?=
QTCGFLIBS?=
# Qt 3.x common stuff
-MOC?= ${X11BASE}/bin/moc
+QT_PREFIX?= ${X11BASE}/qt
+MOC?= ${QT_PREFIX}/bin/moc
LIB_DEPENDS+= qt:${PORTSDIR}/x11-toolkits/qt-copy
USE_NEWGCC= yes
QTCPPFLAGS+= -I/usr/include -I${LOCALBASE}/include -I${PREFIX}/include \
- -I${X11BASE}/include/qt
+ -I${QT_PREFIX}/include/qt
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
- -lqt
+ -L${QT_PREFIX}/lib
.if !defined(QT_NONSTANDARD)
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt \
+CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
--with-qt-libraries=${X11BASE}/lib \
--with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"