diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-15 23:51:46 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-15 23:51:46 +0000 |
commit | 697b1e623a3de78eb3ee4694073532f6bc6e845f (patch) | |
tree | 674c02c2ce3598f6aa81fd17056c14429ab9e4d8 /security/nettle/Makefile | |
parent | b5602a9d9bd8b6adc25f06faa0d66461c2d2c6bb (diff) | |
download | ports-697b1e623a3de78eb3ee4694073532f6bc6e845f.tar.gz ports-697b1e623a3de78eb3ee4694073532f6bc6e845f.zip |
Fix build on mips64
PR: 224338
Submitted by: loader
Notes
Notes:
svn path=/head/; revision=456424
Diffstat (limited to 'security/nettle/Makefile')
-rw-r--r-- | security/nettle/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile index 80b3f2ca3479..1496aee01089 100644 --- a/security/nettle/Makefile +++ b/security/nettle/Makefile @@ -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 |