Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | |||||
# USE_CSTD - Override the default C language standard (gnu89, gnu99) | # USE_CSTD - Override the default C language standard (gnu89, gnu99) | ||||
# USE_CXXSTD Override the default C++ language standard | # USE_CXXSTD Override the default C++ language standard | ||||
# USE_BINUTILS - Use binutils suite from port instead of the version in base. | # USE_BINUTILS - Use binutils suite from port instead of the version in base. | ||||
# CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture | # CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture | ||||
# CXXFLAGS_${ARCH} | # CXXFLAGS_${ARCH} | ||||
# Append the cxxflags to CXXFLAGS only on the specified architecture | # Append the cxxflags to CXXFLAGS only on the specified architecture | ||||
## | ## | ||||
# LDFLAGS_${ARCH} Append the ldflags to LDFLAGS only on the specified architecture | # LDFLAGS_${ARCH} Append the ldflags to LDFLAGS only on the specified architecture | ||||
# USE_SDL - If set, this port uses the sdl libraries. | |||||
# See bsd.sdl.mk for more information. | |||||
## | ## | ||||
# USE_OPENLDAP - If set, this port uses the OpenLDAP libraries. | # USE_OPENLDAP - If set, this port uses the OpenLDAP libraries. | ||||
# Implies: WANT_OPENLDAP_VER?=24 | # Implies: WANT_OPENLDAP_VER?=24 | ||||
# WANT_OPENLDAP_VER | # WANT_OPENLDAP_VER | ||||
# - Legal values are: 23, 24 | # - Legal values are: 23, 24 | ||||
# If set to an unknown value, the port is marked BROKEN. | # If set to an unknown value, the port is marked BROKEN. | ||||
# WANT_OPENLDAP_SASL | # WANT_OPENLDAP_SASL | ||||
# - If set, the system should use OpenLDAP libraries | # - If set, the system should use OpenLDAP libraries | ||||
▲ Show 20 Lines • Show All 1,043 Lines • ▼ Show 20 Lines | |||||
USES+= mate | USES+= mate | ||||
.endif | .endif | ||||
.if defined(USE_GL) && (!defined(USES) || !${USES:Mgl}) | .if defined(USE_GL) && (!defined(USES) || !${USES:Mgl}) | ||||
DEV_WARNING+= "Using USE_GL alone is deprecated, please add USES=gl." | DEV_WARNING+= "Using USE_GL alone is deprecated, please add USES=gl." | ||||
USES+= gl | USES+= gl | ||||
.endif | .endif | ||||
.if defined(USE_SDL) && (!defined(USES) || !${USES:Msdl}) | |||||
DEV_WARNING+= "Using USE_SDL alone is deprecated, please add USES=sdl." | |||||
USES+= sdl | |||||
.endif | |||||
mat: I was going to suggest fixing those ports too, but there are quite a few. | |||||
Done Inline ActionsYep, I'd prefer to convert ports gradually like it's done for USE_GNOME and USE_GL. Number of USE_SDL ports is comparable to USE_GL ports. AMDmi3: Yep, I'd prefer to convert ports gradually like it's done for USE_GNOME and USE_GL. Number of… | |||||
Not Done Inline ActionsWell, thing is, having it done gradually is not the nice thing to do, because you end up doing half the job and asking the other ports to finish it :-) Technically, the way it was done for USE_GNOME or USE_GL was ok, but it was humanly wrong. mat: Well, thing is, having it done gradually is not the nice thing to do, because you end up doing… | |||||
.if defined(USE_MYSQL) | .if defined(USE_MYSQL) | ||||
USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} | USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} | ||||
.if defined(WANT_MYSQL_VER) | .if defined(WANT_MYSQL_VER) | ||||
.if empty(USE_MYSQL) | .if empty(USE_MYSQL) | ||||
USE_MYSQL:=${WANT_MYSQL_VER} | USE_MYSQL:=${WANT_MYSQL_VER} | ||||
.else | .else | ||||
USE_MYSQL:=${USE_MYSQL},${WANT_MYSQL_VER} | USE_MYSQL:=${USE_MYSQL},${WANT_MYSQL_VER} | ||||
.endif | .endif | ||||
.endif | .endif | ||||
USES+=mysql:${USE_MYSQL} | USES+=mysql:${USE_MYSQL} | ||||
.endif | .endif | ||||
.if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) | .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) | ||||
.include "${PORTSDIR}/Mk/bsd.wx.mk" | .include "${PORTSDIR}/Mk/bsd.wx.mk" | ||||
.endif | .endif | ||||
.if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) | .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) | ||||
.include "${PORTSDIR}/Mk/bsd.gstreamer.mk" | .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" | ||||
.endif | .endif | ||||
.if defined(USE_SDL) | |||||
.include "${PORTSDIR}/Mk/bsd.sdl.mk" | |||||
.endif | |||||
.if !defined(UID) | .if !defined(UID) | ||||
UID!= ${ID} -u | UID!= ${ID} -u | ||||
.endif | .endif | ||||
DESTDIRNAME?= DESTDIR | DESTDIRNAME?= DESTDIR | ||||
# setup empty variables for USES targets | # setup empty variables for USES targets | ||||
.for target in sanity fetch extract patch configure build install test package stage | .for target in sanity fetch extract patch configure build install test package stage | ||||
▲ Show 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if defined(USE_JAVA) | .if defined(USE_JAVA) | ||||
.include "${PORTSDIR}/Mk/bsd.java.mk" | .include "${PORTSDIR}/Mk/bsd.java.mk" | ||||
.endif | .endif | ||||
.if defined(USE_OCAML) | .if defined(USE_OCAML) | ||||
.include "${PORTSDIR}/Mk/bsd.ocaml.mk" | .include "${PORTSDIR}/Mk/bsd.ocaml.mk" | ||||
.endif | |||||
.if defined(USE_SDL) | |||||
.include "${PORTSDIR}/Mk/bsd.sdl.mk" | |||||
.endif | .endif | ||||
.if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) | .if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) | ||||
DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" | DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" | ||||
_USES_POST+= php | _USES_POST+= php | ||||
.endif | .endif | ||||
.if defined(USE_WX) || defined(USE_WX_NOT) | .if defined(USE_WX) || defined(USE_WX_NOT) | ||||
▲ Show 20 Lines • Show All 3,436 Lines • Show Last 20 Lines |
I was going to suggest fixing those ports too, but there are quite a few.