summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.kde4.mk
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-04-19 02:30:02 +0000
committerwill <will@FreeBSD.org>2002-04-19 02:30:02 +0000
commit4c52c9067b06ff76694d44e2bd5819fc06e974fe (patch)
tree8ea2fec29854e5717863bf5e5bf1d1b05d97cefe /Mk/bsd.kde4.mk
parent9d74629523b0c2fe5f02ba4bc3f37c73af058448 (diff)
downloadFreeBSD-ports-4c52c9067b06ff76694d44e2bd5819fc06e974fe.zip
FreeBSD-ports-4c52c9067b06ff76694d44e2bd5819fc06e974fe.tar.gz
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation, which had a dependency on audio/xamp (being removed), so I removed that dependency and bumped PORTREVISION. All other ports are real dependents upon Qt 1.x, including KDE 1.x stuff. Code in bsd.kde.mk supporting these ports is also removed or adjusted. Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be committed Real Soon Now (TM), pending repo-copies. This commit made in impending view of Qt3/KDE3 entering ports tree.
Diffstat (limited to 'Mk/bsd.kde4.mk')
-rw-r--r--Mk/bsd.kde4.mk41
1 files changed, 10 insertions, 31 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 059beda..185b392d 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -30,7 +30,7 @@ KDE_MAINTAINER= will@FreeBSD.org
# Compat shims.
.if defined(USE_QT)
-USE_QT_VER= 1
+USE_QT_VER= 2
pre-everything::
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!"
.endif
@@ -43,15 +43,10 @@ pre-everything::
# USE_KDEBASE_VER section
.if defined(USE_KDEBASE_VER)
-# kdebase 1.x common stuff
-.if ${USE_KDEBASE_VER} == 1
-RUN_DEPENDS+= kcontrol:${PORTSDIR}/x11/kdebase11
-USE_KDELIBS_VER=1
-
-.elif ${USE_KDEBASE_VER} == 3
+.if ${USE_KDEBASE_VER} == 3
# kdebase 3.x common stuff
-LIB_DEPENDS+= konq:${PORTSDIR}/x11/kdebase
+LIB_DEPENDS+= konq:${PORTSDIR}/x11/kdebase3
USE_KDELIBS_VER=3
.else
@@ -67,15 +62,10 @@ USE_KDELIBS_VER=2
# USE_KDELIBS_VER section
.if defined(USE_KDELIBS_VER)
-# kdelibs 1.x common stuff
-.if ${USE_KDELIBS_VER} == 1
-LIB_DEPENDS+= kdecore.3:${PORTSDIR}/x11/kdelibs11
-USE_QT_VER= 1
-
-.elif ${USE_KDELIBS_VER} == 3
+.if ${USE_KDELIBS_VER} == 3
# kdelibs 3.x common stuff
-LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs
+LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs3
USE_QT_VER= 3
.else
@@ -91,28 +81,17 @@ USE_QT_VER= 2
# USE_QT_VER section
.if defined(USE_QT_VER)
-# Qt 1.x common stuff
-.if ${USE_QT_VER} == 1
-LIB_DEPENDS+= qt.3:${PORTSDIR}/x11-toolkits/qt145
-USE_NEWGCC= yes
-MOC?= ${X11BASE}/bin/moc
-.if defined(PREFIX)
-QTDIR= ${PREFIX}
-.else
-QTDIR= ${X11BASE}
-.endif
-CONFIGURE_ENV+= MOC="${MOC}" QTDIR="${QTDIR}"
-
-.elif ${USE_QT_VER} == 3
+.if ${USE_QT_VER} == 3
QTCPPFLAGS?=
QTCGFLIBS?=
# Qt 3.x common stuff
-QT_PREFIX?= ${X11BASE}/qt
+QT_PREFIX?= ${X11BASE}
MOC?= ${QT_PREFIX}/bin/moc
-BUILD_DEPENDS+= ${X11BASE}/qt/bin/moc:${PORTSDIR}/x11-toolkits/qt-copy
-RUN_DEPENDS+= ${X11BASE}/qt/bin/moc:${PORTSDIR}/x11-toolkits/qt-copy
+#LIB_DEPENDS+= qt-mt.3:${PORTSDIR}/x11-toolkits/qt30
+BUILD_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
+RUN_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
USE_NEWGCC= yes
QTCPPFLAGS+= -I/usr/include -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include/qt
OpenPOWER on IntegriCloud