summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-10-11 10:19:26 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-10-11 10:19:26 +0000
commit4b79ceca5322187b6b7d9ae7c6200ff6e69ef3fd (patch)
tree8607e5cd6db7eb3ef1693282c0029a1da72c6649 /news
parentUpdate to 0.9.6 (diff)
Remove #pragma to fix build with all compiler versions
PR: ports/203281
Notes
Notes: svn path=/head/; revision=399083
Diffstat (limited to 'news')
-rw-r--r--news/inn/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 8c1c49747343..67b69b367bb7 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -158,6 +158,7 @@ post-patch:
@${REINPLACE_CMD} -e 's!et/com_err\.h!com_err.h!g' \
-e 's!-lk5crypto!!g' \
${WRKSRC}/configure ${WRKSRC}/authprogs/auth_krb5.c
+ @${REINPLACE_CMD} -e '/^#pragma/d' ${WRKSRC}/*/*.c
.if ${PORT_OPTIONS:MBERKELEYDB}
@${REINPLACE_CMD} -e 's!-ldb!-ldb-${BDB_VER}!' ${WRKSRC}/configure
.endif