svn commit: r421193 - head/devel/binutils
Antoine Brodin
antoine at FreeBSD.org
Wed Aug 31 21:15:05 UTC 2016
Author: antoine
Date: Wed Aug 31 21:15:04 2016
New Revision: 421193
URL: https://svnweb.freebsd.org/changeset/ports/421193
Log:
Do not use .init_array/.fini_array sections on FreeBSD 9
This should fix build failures of llvm37 and a few others
PR: 212249
With hat: portmgr
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Wed Aug 31 20:56:40 2016 (r421192)
+++ head/devel/binutils/Makefile Wed Aug 31 21:15:04 2016 (r421193)
@@ -3,7 +3,7 @@
PORTNAME= binutils
PORTVERSION= 2.27
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH?= 1
CATEGORIES?= devel
MASTER_SITES= SOURCEWARE/binutils/releases
@@ -82,6 +82,10 @@ PLIST_SUB+= GOLD=""
PLIST_SUB+= GOLD="@comment "
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+CONFIGURE_ARGS+= --disable-initfini-array
+.endif
+
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.else
More information about the svn-ports-all
mailing list