Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.707 diff -u -r1.707 bsd.port.mk --- bsd.port.mk 11 Mar 2012 21:30:49 -0000 1.707 +++ bsd.port.mk 11 Mar 2012 23:57:34 -0000 @@ -452,14 +452,19 @@ # USE_KDELIBS_VER - Set to 3 to use the KDE libraries. # Implies inclusion of bsd.kde.mk. # -# USE_KDE4 - A list of the KDE4 dependencies the port has (e.g., +# USE_KDE4 - A list of the KDE4 dependencies the port has (e.g., # kdelibs, kdebase). Implies that the port needs KDE. # Implies inclusion of bsd.kde4.mk. See bsd.kde4.mk # for more details. # -# USE_QT_VER - Set to 3 or 4 to use the respective version -# of the QT libraries. -# Implies inclusion of bsd.kde.mk. +# USE_QT_VER - Set to 3 or 4 to use the respective version +# of the Qt libraries. +# Implies inclusion of bsd.kde.mk or bsd.qt.mk. +# +# USE_QT4 - A list of the QT4 dependencies the port has (e.g, +# corelib, webkit). Implies that the port needs Qt. +# Implies the inclusion of bsd.qt.mk. See bsd.qt.mk +# for more details. # # USE_LINUX - Set to yes to say the port needs the default linux base port. # Set to value , if the port needs emulators/linux_base-. @@ -1466,7 +1471,7 @@ .include "${PORTSDIR}/Mk/bsd.kde.mk" .endif -.if defined (USE_QT_VER) && ${USE_QT_VER:L} == 4 +.if defined(USE_QT_VER) && ${USE_QT_VER:L} == 4 || defined(USE_QT4) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif @@ -2027,7 +2032,7 @@ .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif -.if defined (USE_QT_VER) && ${USE_QT_VER:L} == 4 +.if defined(USE_QT_VER) && ${USE_QT_VER:L} == 4 || defined(USE_QT4) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif