aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.kde.mk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-05 17:55:30 +0800
committerkris <kris@FreeBSD.org>2002-05-05 17:55:30 +0800
commit8eb48942607e4c88af9598081dc51791dfe81179 (patch)
treeb8d38d2e8733655db51bfe4ca8a084e50fd0214c /Mk/bsd.kde.mk
parente5f045bebdbe95f30e35922a5f9b722ece172086 (diff)
downloadfreebsd-ports-gnome-8eb48942607e4c88af9598081dc51791dfe81179.tar.gz
freebsd-ports-gnome-8eb48942607e4c88af9598081dc51791dfe81179.tar.zst
freebsd-ports-gnome-8eb48942607e4c88af9598081dc51791dfe81179.zip
Add back the qt145 port and support for qt-1.x. This should not
have been removed because it was not broken and a lot of working ports depended on it. The qt145 port now installs files named *qt1* instead of *qt* so it does not conflict with the other qt versions.
Diffstat (limited to 'Mk/bsd.kde.mk')
-rw-r--r--Mk/bsd.kde.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 185b392d90fb..9bed9e774bd2 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -81,7 +81,19 @@ USE_QT_VER= 2
# USE_QT_VER section
.if defined(USE_QT_VER)
-.if ${USE_QT_VER} == 3
+# Qt 1.x common stuff
+.if ${USE_QT_VER} == 1
+LIB_DEPENDS+= qt1.3:${PORTSDIR}/x11-toolkits/qt145
+USE_NEWGCC= yes
+MOC?= ${X11BASE}/bin/moc1
+.if defined(PREFIX)
+QTDIR= ${PREFIX}
+.else
+QTDIR= ${X11BASE}
+.endif
+CONFIGURE_ENV+= MOC="${MOC}" QTDIR="${QTDIR}"
+
+.elif ${USE_QT_VER} == 3
QTCPPFLAGS?=
QTCGFLIBS?=