aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-08-31 21:15:04 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-08-31 21:15:04 +0000
commit22fdd4fbb7671047cf94c1991e55a9e0eb9d6a8d (patch)
tree16fdf56badca7a39eac09ba93f5ca4473b126197 /devel/binutils/Makefile
parent2486f39211cd8f6e3b80d9a30e200bf6566b41b3 (diff)
downloadports-22fdd4fbb7671047cf94c1991e55a9e0eb9d6a8d.tar.gz
ports-22fdd4fbb7671047cf94c1991e55a9e0eb9d6a8d.zip
Notes
Diffstat (limited to 'devel/binutils/Makefile')
-rw-r--r--devel/binutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 31dc38671c31..ac8beffd6d6c 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -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