diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-08-26 12:56:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-08-26 12:56:54 +0000 |
commit | 6cdbe4cf2e30d8b801470245981c55bcaabc5937 (patch) | |
tree | 035e5c282836e41c14c1c0027ef58210375cbd13 | |
parent | Fix linking (diff) |
Remove -Werror to allow building with clang
Notes
Notes:
svn path=/head/; revision=325394
-rw-r--r-- | security/razorback-api/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/razorback-api/Makefile b/security/razorback-api/Makefile index 9aa7fb73cda0..758da4fd24df 100644 --- a/security/razorback-api/Makefile +++ b/security/razorback-api/Makefile @@ -31,7 +31,6 @@ USES= pathfix USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes -CFLAGS+= -Wno-cast-align CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -61,6 +60,10 @@ BROKEN= does not build when compiled with clang BROKEN= Does not compile on sparc64 .endif +post-patch: + @${REINPLACE_CMD} -e "s/-Werror//g" \ + ${WRKSRC}/configure + post-install: @if [ ! -f ${PREFIX}/etc/razorback/api.conf ]; then \ ${CP} -p ${PREFIX}/etc/razorback/api.conf.sample ${PREFIX}/etc/razorback/api.conf ; \ |