diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-01-10 20:02:42 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-01-10 20:02:42 +0800 |
commit | ef95392ec735ef567e8c29fa94b18d12ca9a53ab (patch) | |
tree | d0834933c0a1413538fb62cdb671f31b0e0da528 /security | |
parent | 829a8c1c3d18154316800fbb55e0efd876059211 (diff) | |
download | freebsd-ports-gnome-ef95392ec735ef567e8c29fa94b18d12ca9a53ab.tar.gz freebsd-ports-gnome-ef95392ec735ef567e8c29fa94b18d12ca9a53ab.tar.zst freebsd-ports-gnome-ef95392ec735ef567e8c29fa94b18d12ca9a53ab.zip |
- Don't try to use lib32 directory, fixes build on mips
- While here, tiny whitespace fix
MFH: 2018Q1
Approved by: portmgr blanket
Diffstat (limited to 'security')
-rw-r--r-- | security/nettle/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile index 8c05f4d226b3..54ab6638b100 100644 --- a/security/nettle/Makefile +++ b/security/nettle/Makefile @@ -5,7 +5,7 @@ PORTNAME= nettle PORTVERSION= 3.4 CATEGORIES= security MASTER_SITES= GNU \ - http://www.lysator.liu.se/~nisse/archive/ + http://www.lysator.liu.se/~nisse/archive/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Low-level cryptographic library @@ -36,8 +36,9 @@ PORTEXAMPLES= *.c *.h CONFIGURE_ENV+= CCPIC=-fPIC .endif -.if ${ARCH} == "mips64" post-patch: + @${REINPLACE_CMD} -e '/libdir=/ s|lib32|lib|' ${WRKSRC}/configure +.if ${ARCH} == "mips64" @${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure .endif |