From 6372e8d8f223dab2917aebf1f1f7126ef5d63e8f Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Wed, 30 Sep 2020 17:27:31 +0000 Subject: [PATCH] - Convert no-unused-variable fix to suggested upstream solution - Do not bump PORTREVISION as this is a cosmetic/noop change --- dns/gdnsd3/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dns/gdnsd3/Makefile b/dns/gdnsd3/Makefile index 5a19c7c67ec2..8f2ea9bf476f 100644 --- a/dns/gdnsd3/Makefile +++ b/dns/gdnsd3/Makefile @@ -25,7 +25,7 @@ CONFIGURE_ARGS= --localstatedir=/var USE_LDCONFIG= yes USES= pkgconfig libtool tar:xz perl5 gmake USE_PERL5= build -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= gdnsd-1.[0-9]* gdnsd2-2.[0-9]* @@ -48,10 +48,6 @@ CFLAGS+= -fstack-protector-strong -fexceptions -ftrapv LDFLAGS+= -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack .endif -post-configure: - @${REINPLACE_CMD} -e 's|-Wall |-Wall -Wno-unused-variable |g' \ - ${WRKSRC}/Makefile - post-patch: @${REINPLACE_CMD} -e 's|$${localstatedir}/lib/$${PACKAGE_NAME}|/var/db/${PORTNAME}|g' \ ${WRKSRC}/configure