svn commit: r356908 - head/lang/pike78
Johan van Selst
johans at FreeBSD.org
Sat Jun 7 14:50:56 UTC 2014
Author: johans
Date: Sat Jun 7 14:50:56 2014
New Revision: 356908
URL: http://svnweb.freebsd.org/changeset/ports/356908
QAT: https://qat.redports.org/buildarchive/r356908/
Log:
Fix compilation issue with (certain versions of) clang
Modified:
head/lang/pike78/Makefile
Modified: head/lang/pike78/Makefile
==============================================================================
--- head/lang/pike78/Makefile Sat Jun 7 14:30:51 2014 (r356907)
+++ head/lang/pike78/Makefile Sat Jun 7 14:50:56 2014 (r356908)
@@ -91,6 +91,8 @@ do-configure:
post-patch:
@${REINPLACE_CMD} -e 's| -lgmp| -L${LOCALBASE}/lib -lgmp|' \
${WRKSRC}/src/modules/Gmp/configure ${WRKSRC}/src/modules/_Image_XFace/configure
+ @${REINPLACE_CMD} -e '/memchr_memcmp.*needle/s/^/static /' \
+ ${WRKSRC}/src/pike_search_engine2.c
@${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|' \
-e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
-e 's|,-Bshareable|& -shared|' \
More information about the svn-ports-head
mailing list