[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 02:26:26 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181301
--- Comment #13 from olivermahmoudi at gmail.com ---
(In reply to John Marino from comment #11)
> (In reply to olivermahmoudi from comment #10)
>
> > 5) XPLIST_SUB+= MYSQL=""
> > X.else
> > XPLIST_SUB+= MYSQL="@comment "
> >
> > This is ancient use of options, use the new OPTIONS_SUB please (review
> > porters handbook on OPTIONS)
> >
> > The program's configure stage is non standard and options are passed on a
> > pre-build stage to prepare the built. Checked back on this issued with the
> > ports mailing list. Their feedback was that it is still OK to keep it that
> > way since the new way of setting up the options won't solve my special
> > scenario here.
>
> Well, except OPTIONS_SUB affects PLIST_SUB and not configure arguments. I
> was objecting to your (ancient) brute force definitions of "" and "@comment
> " which is unnecessary with OPTIONS_SUB
If what you are talking about is this:
### Version 1
.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
### Version 2
OPTIONS_SUB=yes
.if ${PORT_OPTIONS:MMYSQL}
BUILD_DEPENDS+=
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql56-server
RUN_DEPENDS+:= ${BUILD_DEPENDS}
EXTRA_MODULES+= db_mysql
.endif
whereas:
Version 1 == Version 2
then I can see what you mean and could update things to Version 2 via
OPTIONS_SUB. What I would essentially be carving out is this bit:
PLIST_SUB+= MYSQL=""
.else
PLIST_SUB+= MYSQL="@comment "
and it would still work.
Is this the point you were trying to make?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list