Remove __BSD_VISIBLE from spiped build

I added this in 2013 because it was needed in order to have MSG_NOSIGNAL
defined; having that improved performance by avoiding the need go mask
and unmask SIGPIPE repeately.

From src r248932 onwards (aka. 10.0-RELEASE and later) __BSD_VISIBLE is
no longer needed for this; since FreeBSD 9.x and earlier are no longer
supported, there is no point keeping the workaround.
This commit is contained in:
Colin Percival 2020-07-31 03:31:04 +00:00
parent b75a7831aa
commit b866d866ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543843

View File

@ -2,7 +2,7 @@
PORTNAME= spiped
PORTVERSION= 1.6.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils security
MASTER_SITES= http://www.tarsnap.com/spiped/
@ -20,9 +20,8 @@ USES= compiler:c11 tar:tgz ssl
MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin
MAKE_ARGS+= MAN1DIR=${STAGEDIR}${PREFIX}/man/man1
# Force __BSD_VISIBLE on since it works and improves performance;
# add -I and -L directories for OpenSSL
MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE -I${OPENSSLINC}"
MAKE_ARGS+= CFLAGS="-O2 -I${OPENSSLINC}"
MAKE_ARGS+= LDADD_EXTRA="-L${OPENSSLLIB}"
PORTDOCS= BUILDING CHANGELOG COPYRIGHT README.md STYLE