Fix variable usage and comments.
Submitted by: asami
This commit is contained in:
parent
984a75e189
commit
87a38f41fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40378
@ -26,12 +26,12 @@ KDE_MAINTAINER= will@FreeBSD.org
|
|||||||
|
|
||||||
# Compat shims.
|
# Compat shims.
|
||||||
.if defined(USE_QT)
|
.if defined(USE_QT)
|
||||||
QT_VER= 1
|
USE_QT_VER= 1
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!"
|
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!"
|
||||||
.endif
|
.endif
|
||||||
.if defined(USE_QT2)
|
.if defined(USE_QT2)
|
||||||
QT_VER= 2
|
USE_QT_VER= 2
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT2 variable!"
|
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT2 variable!"
|
||||||
.endif
|
.endif
|
||||||
@ -67,25 +67,25 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \
|
|||||||
CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
|
CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
# End of USE_QT section
|
# End of USE_QT_VER section
|
||||||
|
|
||||||
# USE_KDELIBS section
|
# USE_KDELIBS_VER section
|
||||||
.if defined(USE_KDELIBS_VER)
|
.if defined(USE_KDELIBS_VER)
|
||||||
|
|
||||||
# kdelibs 1.x common stuff
|
# kdelibs 1.x common stuff
|
||||||
.if ${USE_KDELIBS_VER} == 1
|
.if ${USE_KDELIBS_VER} == 1
|
||||||
LIB_DEPENDS+= kdelibs.3:${PORTSDIR}/x11/kdelibs11
|
LIB_DEPENDS+= kdelibs.3:${PORTSDIR}/x11/kdelibs11
|
||||||
QT_VER= 1
|
USE_QT_VER= 1
|
||||||
|
|
||||||
.else
|
.else
|
||||||
|
|
||||||
# kdelibs 2.x common stuff -- DEFAULT
|
# kdelibs 2.x common stuff -- DEFAULT
|
||||||
LIB_DEPENDS+= kdelibs.4:${PORTSDIR}/x11/kdelibs2
|
LIB_DEPENDS+= kdelibs.4:${PORTSDIR}/x11/kdelibs2
|
||||||
QT_VER= 2
|
USE_QT_VER= 2
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
# End of USE_KDELIBS section
|
# End of USE_KDELIBS_VER section
|
||||||
|
|
||||||
# USE_KDEBASE_VER section
|
# USE_KDEBASE_VER section
|
||||||
.if defined(USE_KDEBASE_VER)
|
.if defined(USE_KDEBASE_VER)
|
||||||
@ -93,13 +93,13 @@ QT_VER= 2
|
|||||||
# kdebase 1.x common stuff
|
# kdebase 1.x common stuff
|
||||||
.if ${USE_KDEBASE_VER} == 1
|
.if ${USE_KDEBASE_VER} == 1
|
||||||
RUN_DEPENDS+= kcontrol:${PORTSDIR}/x11/kdebase11
|
RUN_DEPENDS+= kcontrol:${PORTSDIR}/x11/kdebase11
|
||||||
USE_KDELIBS= 1
|
USE_KDELIBS_VER=1
|
||||||
|
|
||||||
.else
|
.else
|
||||||
|
|
||||||
# kdebase 2.x common stuff -- DEFAULT
|
# kdebase 2.x common stuff -- DEFAULT
|
||||||
LIB_DEPENDS+= kparts.4:${PORTSDIR}/x11/kdebase2
|
LIB_DEPENDS+= kparts.4:${PORTSDIR}/x11/kdebase2
|
||||||
USE_KDELIBS= 2
|
USE_KDELIBS_VER=2
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -26,12 +26,12 @@ KDE_MAINTAINER= will@FreeBSD.org
|
|||||||
|
|
||||||
# Compat shims.
|
# Compat shims.
|
||||||
.if defined(USE_QT)
|
.if defined(USE_QT)
|
||||||
QT_VER= 1
|
USE_QT_VER= 1
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!"
|
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT variable!"
|
||||||
.endif
|
.endif
|
||||||
.if defined(USE_QT2)
|
.if defined(USE_QT2)
|
||||||
QT_VER= 2
|
USE_QT_VER= 2
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT2 variable!"
|
@${ECHO} ">>> Warning: this port needs to be updated as it uses the old-style USE_QT2 variable!"
|
||||||
.endif
|
.endif
|
||||||
@ -67,25 +67,25 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \
|
|||||||
CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
|
CPPFLAGS="${QTCPPFLAGS}" LIBS="${QTCFGLIBS}"
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
# End of USE_QT section
|
# End of USE_QT_VER section
|
||||||
|
|
||||||
# USE_KDELIBS section
|
# USE_KDELIBS_VER section
|
||||||
.if defined(USE_KDELIBS_VER)
|
.if defined(USE_KDELIBS_VER)
|
||||||
|
|
||||||
# kdelibs 1.x common stuff
|
# kdelibs 1.x common stuff
|
||||||
.if ${USE_KDELIBS_VER} == 1
|
.if ${USE_KDELIBS_VER} == 1
|
||||||
LIB_DEPENDS+= kdelibs.3:${PORTSDIR}/x11/kdelibs11
|
LIB_DEPENDS+= kdelibs.3:${PORTSDIR}/x11/kdelibs11
|
||||||
QT_VER= 1
|
USE_QT_VER= 1
|
||||||
|
|
||||||
.else
|
.else
|
||||||
|
|
||||||
# kdelibs 2.x common stuff -- DEFAULT
|
# kdelibs 2.x common stuff -- DEFAULT
|
||||||
LIB_DEPENDS+= kdelibs.4:${PORTSDIR}/x11/kdelibs2
|
LIB_DEPENDS+= kdelibs.4:${PORTSDIR}/x11/kdelibs2
|
||||||
QT_VER= 2
|
USE_QT_VER= 2
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
# End of USE_KDELIBS section
|
# End of USE_KDELIBS_VER section
|
||||||
|
|
||||||
# USE_KDEBASE_VER section
|
# USE_KDEBASE_VER section
|
||||||
.if defined(USE_KDEBASE_VER)
|
.if defined(USE_KDEBASE_VER)
|
||||||
@ -93,13 +93,13 @@ QT_VER= 2
|
|||||||
# kdebase 1.x common stuff
|
# kdebase 1.x common stuff
|
||||||
.if ${USE_KDEBASE_VER} == 1
|
.if ${USE_KDEBASE_VER} == 1
|
||||||
RUN_DEPENDS+= kcontrol:${PORTSDIR}/x11/kdebase11
|
RUN_DEPENDS+= kcontrol:${PORTSDIR}/x11/kdebase11
|
||||||
USE_KDELIBS= 1
|
USE_KDELIBS_VER=1
|
||||||
|
|
||||||
.else
|
.else
|
||||||
|
|
||||||
# kdebase 2.x common stuff -- DEFAULT
|
# kdebase 2.x common stuff -- DEFAULT
|
||||||
LIB_DEPENDS+= kparts.4:${PORTSDIR}/x11/kdebase2
|
LIB_DEPENDS+= kparts.4:${PORTSDIR}/x11/kdebase2
|
||||||
USE_KDELIBS= 2
|
USE_KDELIBS_VER=2
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user