svn commit: r512537 - head/math/p5-Math-Int128

Mark Linimon linimon at FreeBSD.org
Sat Sep 21 20:02:22 UTC 2019


Author: linimon
Date: Sat Sep 21 20:02:21 2019
New Revision: 512537
URL: https://svnweb.freebsd.org/changeset/ports/512537

Log:
  Remove hardcoding from 2013 and replace it with the modern equivalent.
  Found while working on powerpc64.
  
  Tested on: amd64, powerpc64.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/math/p5-Math-Int128/Makefile

Modified: head/math/p5-Math-Int128/Makefile
==============================================================================
--- head/math/p5-Math-Int128/Makefile	Sat Sep 21 19:49:53 2019	(r512536)
+++ head/math/p5-Math-Int128/Makefile	Sat Sep 21 20:02:21 2019	(r512537)
@@ -16,21 +16,12 @@ LICENSE=	ART10
 BUILD_DEPENDS=	p5-Math-Int64>=0.51:math/p5-Math-Int64
 RUN_DEPENDS=	p5-Math-Int64>=0.51:math/p5-Math-Int64
 
-USES=		perl5
+USES=		compiler:c11 perl5
 USE_PERL5=	configure
 
 NOT_FOR_ARCHS=	armv6 i386
 
-.include <bsd.port.pre.mk>
-
-# need clang 3.2+ or GCC 4.4+
-.if exists(/usr/bin/clang)
-CC=	/usr/bin/clang
-.else
-USE_GCC=	yes
-.endif
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Int128/Int128.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list