From b866d866ce76d7118585ddadc341f8c1f8e4e00f Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Fri, 31 Jul 2020 03:31:04 +0000 Subject: [PATCH] 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. --- sysutils/spiped/Makefile | 5 ++--- 1 file 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