svn commit: r434651 - in head/devel: aarch64-binutils binutils

Bryan Drewery bdrewery at FreeBSD.org
Wed Feb 22 23:33:45 UTC 2017


Author: bdrewery
Date: Wed Feb 22 23:33:44 2017
New Revision: 434651
URL: https://svnweb.freebsd.org/changeset/ports/434651

Log:
  Build aarch64-binutils as static by default.
  
  This is required to build Arm64 packages using QEMU.  Poudriere copies
  the native ld from the host into the jail and uses that during the build.
  This only works if ld is static.
  
  Reported by:	krion
  Approved by:	bapt

Modified:
  head/devel/aarch64-binutils/Makefile
  head/devel/binutils/Makefile

Modified: head/devel/aarch64-binutils/Makefile
==============================================================================
--- head/devel/aarch64-binutils/Makefile	Wed Feb 22 23:32:19 2017	(r434650)
+++ head/devel/aarch64-binutils/Makefile	Wed Feb 22 23:33:44 2017	(r434651)
@@ -1,9 +1,11 @@
 # $FreeBSD$
 
+PORTREVISION=	6
 COMMENT=	GNU binutils for AArch64 cross-development
 PKGNAMEPREFIX=	aarch64-
 PLIST=	${.CURDIR}/pkg-plist
 
 MASTERDIR=	${.CURDIR}/../binutils
+OPTIONS_DEFAULT=	STATIC
 
 .include "${MASTERDIR}/Makefile"

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Wed Feb 22 23:32:19 2017	(r434650)
+++ head/devel/binutils/Makefile	Wed Feb 22 23:33:44 2017	(r434651)
@@ -3,7 +3,8 @@
 
 PORTNAME=	binutils
 PORTVERSION=	2.27
-PORTREVISION=	5
+# XXX: When removing or bumping this, remove PORTREVISION= from aarch64-binutils
+PORTREVISION?=	5
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	SOURCEWARE/binutils/releases


More information about the svn-ports-all mailing list