Date: Wed, 10 Sep 2014 00:50:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 181301] [NEW PORT] net/kamailio: Very fast and configurable open source SIP proxy Message-ID: <bug-181301-13-DrHRJxhoap@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-181301-13@https.bugs.freebsd.org/bugzilla/> References: <bug-181301-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181301 --- Comment #12 from olivermahmoudi@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-181301-13-DrHRJxhoap>