Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 23:51:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456424 - head/security/nettle
Message-ID:  <201712152351.vBFNpko4058159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Dec 15 23:51:46 2017
New Revision: 456424
URL: https://svnweb.freebsd.org/changeset/ports/456424

Log:
  Fix build on mips64
  
  PR:		224338
  Submitted by:	loader

Modified:
  head/security/nettle/Makefile

Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile	Fri Dec 15 23:51:41 2017	(r456423)
+++ head/security/nettle/Makefile	Fri Dec 15 23:51:46 2017	(r456424)
@@ -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
 



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