Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.options.mk
Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | |||||
## | ## | ||||
# Set all the options available for the ports, beginning with the | # Set all the options available for the ports, beginning with the | ||||
# global ones and ending with the ones decided by the maintainer. | # global ones and ending with the ones decided by the maintainer. | ||||
.if !defined(OPTIONSMKINCLUDED) | .if !defined(OPTIONSMKINCLUDED) | ||||
OPTIONSMKINCLUDED= bsd.options.mk | OPTIONSMKINCLUDED= bsd.options.mk | ||||
OPTIONS_NAME?= ${PKGORIGIN:S/\//_/} | OPTIONS_NAME?= ${PKGORIGIN:S/\//_/} | ||||
# If there is a FLAVOR and it is not the default one, append it to OPTIONS_NAME | |||||
# so that the options can be different than the default flavor. | |||||
.if !empty(FLAVOR) && ${FLAVOR} != ${FLAVORS:[1]} | |||||
OPTIONS_NAME:= ${OPTIONS_NAME}@${FLAVOR} | |||||
.endif | |||||
OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options | OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options | ||||
_OPTIONS_FLAGS= ALL_TARGET BROKEN CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS \ | _OPTIONS_FLAGS= ALL_TARGET BROKEN CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS \ | ||||
CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS \ | CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS \ | ||||
DESKTOP_ENTRIES DISTFILES EXTRA_PATCHES EXTRACT_ONLY \ | DESKTOP_ENTRIES DISTFILES EXTRA_PATCHES EXTRACT_ONLY \ | ||||
GH_ACCOUNT GH_PROJECT GH_SUBDIR GH_TAGNAME GH_TUPLE IGNORE \ | GH_ACCOUNT GH_PROJECT GH_SUBDIR GH_TAGNAME GH_TUPLE IGNORE \ | ||||
INFO INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV \ | INFO INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV \ | ||||
MASTER_SITES PATCHFILES PATCH_SITES PLIST_DIRS PLIST_FILES \ | MASTER_SITES PATCHFILES PATCH_SITES PLIST_DIRS PLIST_FILES \ | ||||
▲ Show 20 Lines • Show All 479 Lines • Show Last 20 Lines |