aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2015-10-11 18:19:26 +0800
committerjohans <johans@FreeBSD.org>2015-10-11 18:19:26 +0800
commit9209c309b8d07542cda0e3077c8320b0e4732274 (patch)
tree8607e5cd6db7eb3ef1693282c0029a1da72c6649 /news
parent3cb4d5ce8cef6065e7372bc8a0976bf0d271ad08 (diff)
downloadfreebsd-ports-gnome-9209c309b8d07542cda0e3077c8320b0e4732274.tar.gz
freebsd-ports-gnome-9209c309b8d07542cda0e3077c8320b0e4732274.tar.zst
freebsd-ports-gnome-9209c309b8d07542cda0e3077c8320b0e4732274.zip
Remove #pragma to fix build with all compiler versions
PR: ports/203281
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