Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 12:02:42 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458622 - head/security/nettle
Message-ID:  <201801101202.w0AC2gEM081400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101202.w0AC2gEM081400>