aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-27 21:02:14 +0800
committerbapt <bapt@FreeBSD.org>2013-05-27 21:02:14 +0800
commit887926b0e3bddc59638832597bf16fc1a7fc9970 (patch)
tree285bf87c4177f8100b6e29c80a27ee5c6a8e672c
parent18dc23436b8cac36756f20b6a537969063ff46c9 (diff)
downloadfreebsd-ports-gnome-887926b0e3bddc59638832597bf16fc1a7fc9970.tar.gz
freebsd-ports-gnome-887926b0e3bddc59638832597bf16fc1a7fc9970.tar.zst
freebsd-ports-gnome-887926b0e3bddc59638832597bf16fc1a7fc9970.zip
Fix build with clang
-rw-r--r--www/p5-CGI-SpeedyCGI/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile
index ed72f2550ca2..fced4ce3308d 100644
--- a/www/p5-CGI-SpeedyCGI/Makefile
+++ b/www/p5-CGI-SpeedyCGI/Makefile
@@ -31,6 +31,8 @@ CONFIGURE_ENV+= WITHOUT_APACHE=yes
.include <bsd.port.pre.mk>
post-patch:
+ @${REINPLACE_CMD} -e 's/__inline__//g' \
+ ${WRKSRC}/src/speedy_inc.h
@${PERL} -pi -e 's,apxs -q,${APXS} -q,;' \
${WRKSRC}/src/SpeedyMake.pl
@${PERL} -pi -e 's,APXS=apxs,APXS=${APXS},;' \