diff options
author | arved <arved@FreeBSD.org> | 2004-07-23 14:53:13 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-07-23 14:53:13 +0000 |
commit | a3490074bc1e56f07f4f01fae34b76b3ffb03533 (patch) | |
tree | bad1b19c570423686f419867ee60730f096311cd /Mk | |
parent | be7a3e3a513887b2593feeb0fc4cade0fd6201d0 (diff) | |
download | FreeBSD-ports-a3490074bc1e56f07f4f01fae34b76b3ffb03533.zip FreeBSD-ports-a3490074bc1e56f07f4f01fae34b76b3ffb03533.tar.gz |
Retire QT2. QT3 was released a few years ago and QT4 will be released soon.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.kde.mk | 40 | ||||
-rw-r--r-- | Mk/bsd.kde4.mk | 40 |
2 files changed, 10 insertions, 70 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk index 2a02406..659e392 100644 --- a/Mk/bsd.kde.mk +++ b/Mk/bsd.kde.mk @@ -13,12 +13,12 @@ KDE_MAINTAINER= will@FreeBSD.org # XXX: Write HAVE_ definitions sometime. # USE_QT_VER - Says that the port uses the Qt toolkit. Possible values: -# 1, 2, or 3; each specify the major version of Qt to use. +# 1 or 3; each specify the major version of Qt to use. # USE_KDELIBS_VER - Says that the port uses KDE libraries. Possible values: -# 1, 2, or 3; each specify the major version of KDE to use. +# 3 specifies the major version of KDE to use. # This implies USE_QT of the appropriate version. # USE_KDEBASE_VER - Says that the port uses the KDE base. Possible values: -# 1, 2, or 3; each specify the major version of KDE to use. +# 3 specifies the major version of KDE to use. # This implies USE_KDELIBS of the appropriate version. # @@ -27,13 +27,6 @@ KDE_MAINTAINER= will@FreeBSD.org # WHATSOEVER FROM THE MAINTAINER OF THIS FILE! # -# Compat shims. -.if defined(USE_QT) -USE_QT_VER= 2 -pre-everything:: - @${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!" -.endif # defined(USE_QT) - # tagged MASTER_SITE_KDE_kde kmaster= ${MASTER_SITE_KDE:S@%/@%/:kde@g} .if !defined(MASTER_SITE_SUBDIR) @@ -83,15 +76,12 @@ USE_QT_VER= 3 PREFIX= ${KDE_PREFIX} .else BROKEN= "Unknown value in USE_KDELIBS_VER" -# kdelibs 2.x common stuff -- DEFAULT -USE_QT_VER= 2 .endif # ${USE_KDELIBS_VER} == 3 .endif # defined(USE_KDELIBS_VER) # End of USE_KDELIBS_VER section # USE_QT_VER section -.if defined(USE_QT_VER) # Qt 1.x common stuff .if ${USE_QT_VER} == 1 LIB_DEPENDS+= qt1.3:${PORTSDIR}/x11-toolkits/qt145 @@ -149,28 +139,8 @@ CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \ --with-extra-includes=${LOCALBASE}/include CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" .endif # !defined(QT_NONSTANDARD) - -.else # QT2 - -QTCPPFLAGS?= -QTCGFLIBS?= - -# Qt 2.x common stuff -- DEFAULT -LIB_DEPENDS+= qt2.4:${PORTSDIR}/x11-toolkits/qt23 -QTNAME= qt2 -MOC?= ${X11BASE}/bin/moc2 -QTCPPFLAGS+= -D_GETOPT_H -I${LOCALBASE}/include -I${PREFIX}/include \ - -I${X11BASE}/include/qt2 -QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg -lgcc -lstdc++ -.if !defined(QT_NONSTANDARD) -CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \ - --with-qt-libraries=${X11BASE}/lib \ - --with-extra-libs=${LOCALBASE}/lib -CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \ - CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" -.endif # !defined(QT_NONSTANDARD) - -.endif # USE_QT_VER == ??? +.else +BROKEN="Unsupported value of USE_QT_VER" .endif # defined(USE_QT_VER) # End of USE_QT_VER section diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk index 2a02406..659e392 100644 --- a/Mk/bsd.kde4.mk +++ b/Mk/bsd.kde4.mk @@ -13,12 +13,12 @@ KDE_MAINTAINER= will@FreeBSD.org # XXX: Write HAVE_ definitions sometime. # USE_QT_VER - Says that the port uses the Qt toolkit. Possible values: -# 1, 2, or 3; each specify the major version of Qt to use. +# 1 or 3; each specify the major version of Qt to use. # USE_KDELIBS_VER - Says that the port uses KDE libraries. Possible values: -# 1, 2, or 3; each specify the major version of KDE to use. +# 3 specifies the major version of KDE to use. # This implies USE_QT of the appropriate version. # USE_KDEBASE_VER - Says that the port uses the KDE base. Possible values: -# 1, 2, or 3; each specify the major version of KDE to use. +# 3 specifies the major version of KDE to use. # This implies USE_KDELIBS of the appropriate version. # @@ -27,13 +27,6 @@ KDE_MAINTAINER= will@FreeBSD.org # WHATSOEVER FROM THE MAINTAINER OF THIS FILE! # -# Compat shims. -.if defined(USE_QT) -USE_QT_VER= 2 -pre-everything:: - @${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!" -.endif # defined(USE_QT) - # tagged MASTER_SITE_KDE_kde kmaster= ${MASTER_SITE_KDE:S@%/@%/:kde@g} .if !defined(MASTER_SITE_SUBDIR) @@ -83,15 +76,12 @@ USE_QT_VER= 3 PREFIX= ${KDE_PREFIX} .else BROKEN= "Unknown value in USE_KDELIBS_VER" -# kdelibs 2.x common stuff -- DEFAULT -USE_QT_VER= 2 .endif # ${USE_KDELIBS_VER} == 3 .endif # defined(USE_KDELIBS_VER) # End of USE_KDELIBS_VER section # USE_QT_VER section -.if defined(USE_QT_VER) # Qt 1.x common stuff .if ${USE_QT_VER} == 1 LIB_DEPENDS+= qt1.3:${PORTSDIR}/x11-toolkits/qt145 @@ -149,28 +139,8 @@ CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \ --with-extra-includes=${LOCALBASE}/include CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" .endif # !defined(QT_NONSTANDARD) - -.else # QT2 - -QTCPPFLAGS?= -QTCGFLIBS?= - -# Qt 2.x common stuff -- DEFAULT -LIB_DEPENDS+= qt2.4:${PORTSDIR}/x11-toolkits/qt23 -QTNAME= qt2 -MOC?= ${X11BASE}/bin/moc2 -QTCPPFLAGS+= -D_GETOPT_H -I${LOCALBASE}/include -I${PREFIX}/include \ - -I${X11BASE}/include/qt2 -QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg -lgcc -lstdc++ -.if !defined(QT_NONSTANDARD) -CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \ - --with-qt-libraries=${X11BASE}/lib \ - --with-extra-libs=${LOCALBASE}/lib -CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \ - CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" -.endif # !defined(QT_NONSTANDARD) - -.endif # USE_QT_VER == ??? +.else +BROKEN="Unsupported value of USE_QT_VER" .endif # defined(USE_QT_VER) # End of USE_QT_VER section |