- Convert no-unused-variable fix to suggested upstream solution
- Do not bump PORTREVISION as this is a cosmetic/noop change
This commit is contained in:
parent
aa1292d893
commit
6372e8d8f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550726
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user