svn commit: r456424 - head/security/nettle
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Dec 15 23:51:48 UTC 2017
Author: sunpoet
Date: Fri Dec 15 23:51:46 2017
New Revision: 456424
URL: https://svnweb.freebsd.org/changeset/ports/456424
Log:
Fix build on mips64
PR: 224338
Submitted by: loader
Modified:
head/security/nettle/Makefile
Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile Fri Dec 15 23:51:41 2017 (r456423)
+++ head/security/nettle/Makefile Fri Dec 15 23:51:46 2017 (r456424)
@@ -36,6 +36,11 @@ PORTEXAMPLES= *.c *.h
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
+post-patch:
+.if ${ARCH} == "mips64"
+ @${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
More information about the svn-ports-all
mailing list