svn commit: r399083 - head/news/inn

Johan van Selst johans at FreeBSD.org
Sun Oct 11 10:19:28 UTC 2015


Author: johans
Date: Sun Oct 11 10:19:26 2015
New Revision: 399083
URL: https://svnweb.freebsd.org/changeset/ports/399083

Log:
  Remove #pragma to fix build with all compiler versions
  
  PR:		ports/203281

Modified:
  head/news/inn/Makefile

Modified: head/news/inn/Makefile
==============================================================================
--- head/news/inn/Makefile	Sun Oct 11 09:01:32 2015	(r399082)
+++ head/news/inn/Makefile	Sun Oct 11 10:19:26 2015	(r399083)
@@ -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


More information about the svn-ports-head mailing list