Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 1,500 Lines • ▼ Show 20 Lines | |||||
# Reorder FLAVORS so the default is first if set by the port. | # Reorder FLAVORS so the default is first if set by the port. | ||||
.if empty(_FLAVOR) && !empty(FLAVORS) && !empty(FLAVOR) | .if empty(_FLAVOR) && !empty(FLAVORS) && !empty(FLAVOR) | ||||
FLAVORS:= ${FLAVOR} ${FLAVORS:N${FLAVOR}} | FLAVORS:= ${FLAVOR} ${FLAVORS:N${FLAVOR}} | ||||
.endif | .endif | ||||
.if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS) | .if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS) | ||||
_DID_FLAVORS_HELPERS= yes | _DID_FLAVORS_HELPERS= yes | ||||
_FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX | _FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX \ | ||||
DEPRECATED EXPIRATION_DATE | |||||
_FLAVOR_HELPERS_APPEND= CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL \ | _FLAVOR_HELPERS_APPEND= CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL \ | ||||
PKG_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS \ | PKG_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS \ | ||||
FETCH_DEPENDS BUILD_DEPENDS LIB_DEPENDS \ | FETCH_DEPENDS BUILD_DEPENDS LIB_DEPENDS \ | ||||
RUN_DEPENDS TEST_DEPENDS | RUN_DEPENDS TEST_DEPENDS | ||||
# These overwrite the current value | # These overwrite the current value | ||||
.for v in ${_FLAVOR_HELPERS_OVERRIDE} | .for v in ${_FLAVOR_HELPERS_OVERRIDE} | ||||
.if defined(${FLAVOR}_${v}) | .if defined(${FLAVOR}_${v}) | ||||
${v}= ${${FLAVOR}_${v}} | ${v}= ${${FLAVOR}_${v}} | ||||
▲ Show 20 Lines • Show All 3,882 Lines • Show Last 20 Lines |