Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 20:02:21 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512537 - head/math/p5-Math-Int128
Message-ID:  <201909212002.x8LK2LYP021399@repo.freebsd.org>

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



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