mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/dante: try to unbreak the port's build on 15-CURRENT (+)
- Due to the way this code wraps around some standard library's functions, it cannot be compiled with -D_FORTIFY_SOURCE=2, so disable the naive check in the configure script - Optionize UPnP support and remove SASL dependency for now as it does nothing alone; it could be introduced later together with proper LDAP support Reported by: pkg-fallout
This commit is contained in:
parent
7cf4e7081d
commit
b16b5fd495
1 changed files with 10 additions and 6 deletions
|
@ -12,12 +12,8 @@ WWW= https://www.inet.no/dante/
|
||||||
LICENSE= BSD4CLAUSE
|
LICENSE= BSD4CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
LIB_DEPENDS= libminiupnpc.so:net/miniupnpc \
|
USES= libtool localbase ssl
|
||||||
libsasl2.so:security/cyrus-sasl2
|
|
||||||
|
|
||||||
USES= libtool localbase
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
|
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
|
||||||
--with-sockd-conf=${PREFIX}/etc/sockd.conf
|
--with-sockd-conf=${PREFIX}/etc/sockd.conf
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
@ -25,7 +21,15 @@ USE_LDCONFIG= yes
|
||||||
|
|
||||||
USE_RC_SUBR= sockd
|
USE_RC_SUBR= sockd
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
OPTIONS_DEFINE= DOCS EXAMPLES UPNP
|
||||||
|
OPTIONS_DEFAULT= UPNP
|
||||||
|
|
||||||
|
UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
|
||||||
|
UPNP_CONFIGURE_OFF= --without-upnp
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e '/FORTIFY_SOURCE gives error/,+28d' \
|
||||||
|
${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.for x in s d
|
.for x in s d
|
||||||
|
|
Loading…
Add table
Reference in a new issue