[Bug 181301] [NEW PORT] net/kamailio: Very fast and configurable open source SIP proxy
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 10 00:50:20 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181301
--- Comment #12 from olivermahmoudi at gmail.com ---
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html
OPTIONS_DEFINE= OPT1
OPTIONS_SUB= yes
is equivalent to:
OPTIONS_DEFINE= OPT1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPT1}
PLIST_SUB+= OPT1="" NO_OPT1="@comment "
SUB_LIST+= OPT1="" NO_OPT1="@comment "
.else
PLIST_SUB+= OPT1="@comment " NO_OPT1=""
SUB_LIST+= OPT1="@comment " NO_OPT1=""
.endif
What I have is:
.if ${PORT_OPTIONS:MMYSQL}
BUILD_DEPENDS+=
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql56-server
RUN_DEPENDS+:= ${BUILD_DEPENDS}
EXTRA_MODULES+= db_mysql
PLIST_SUB+= MYSQL=""
.else
PLIST_SUB+= MYSQL="@comment "
.endif
It is the EXTRA_MODULES variable, which is passed to:
pre-build:
@cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} cfg
In exactly this fashion:
.if !empty (EXTRA_MODULES)
MAKE_ARGS= include_modules="${EXTRA_MODULES}"
.endif
I feel like I cannot just carve that out by letting OPTIONS_SUB=yes. Again,
ports mailing list didn't object or how else would I go about that?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list