summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2020-07-31 03:31:04 +0000
committerColin Percival <cperciva@FreeBSD.org>2020-07-31 03:31:04 +0000
commitb866d866ce76d7118585ddadc341f8c1f8e4e00f (patch)
tree470383a583f59c7093c2d7a0b75fb85bccfca92b
parentdevel/git-town: Update 7.3.0 -> 7.4.0 (diff)
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.
Notes
Notes: svn path=/head/; revision=543843
-rw-r--r--sysutils/spiped/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile
index 686474cb6a5b..0674d431a1c5 100644
--- a/sysutils/spiped/Makefile
+++ b/sysutils/spiped/Makefile
@@ -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