mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Remove CFLAGS unsupported by ancient gcc and just remove -Werror to have the code build with clang
Reported by: olgeni
This commit is contained in:
parent
7d92c0126f
commit
85fd614298
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343733
@ -23,9 +23,6 @@ USE_BZIP2= yes
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
CFLAGS+= -Wno-knr-promoted-parameter \
|
||||
-Wno-sizeof-pointer-memaccess \
|
||||
-Wno-incompatible-pointer-types
|
||||
USES= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
@ -161,6 +158,9 @@ CONFIGURE_ARGS+= --enable-idea
|
||||
CONFIGURE_ARGS+= --disable-idea
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/-Werror//g" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/racoon
|
||||
@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user