svn commit: r458622 - head/security/nettle
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Jan 10 12:02:44 UTC 2018
Author: amdmi3
Date: Wed Jan 10 12:02:42 2018
New Revision: 458622
URL: https://svnweb.freebsd.org/changeset/ports/458622
Log:
- Don't try to use lib32 directory, fixes build on mips
- While here, tiny whitespace fix
MFH: 2018Q1
Approved by: portmgr blanket
Modified:
head/security/nettle/Makefile
Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile Wed Jan 10 11:44:09 2018 (r458621)
+++ head/security/nettle/Makefile Wed Jan 10 12:02:42 2018 (r458622)
@@ -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 at 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
More information about the svn-ports-head
mailing list