svn commit: r458623 - branches/2018Q1/security/nettle

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jan 10 12:04:33 UTC 2018


Author: amdmi3
Date: Wed Jan 10 12:04:31 2018
New Revision: 458623
URL: https://svnweb.freebsd.org/changeset/ports/458623

Log:
  MFH: r458622
  
  - Don't try to use lib32 directory, fixes build on mips
  - While here, tiny whitespace fix
  
  With hat:	ports-secteam
  Approved by:	portmgr blanket

Modified:
  branches/2018Q1/security/nettle/Makefile
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/security/nettle/Makefile
==============================================================================
--- branches/2018Q1/security/nettle/Makefile	Wed Jan 10 12:02:42 2018	(r458622)
+++ branches/2018Q1/security/nettle/Makefile	Wed Jan 10 12:04:31 2018	(r458623)
@@ -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-branches mailing list