aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2013-06-28 11:28:12 +0800
committerstephen <stephen@FreeBSD.org>2013-06-28 11:28:12 +0800
commit061ab1382d37d22c9f472b3cd0cf90e803614374 (patch)
tree85dffd2f8b801c47fb2326d702d32f80607ef5a9
parentb4313862d243c7480ca01e7bd4aad5c55e15a81e (diff)
downloadfreebsd-ports-gnome-061ab1382d37d22c9f472b3cd0cf90e803614374.tar.gz
freebsd-ports-gnome-061ab1382d37d22c9f472b3cd0cf90e803614374.tar.zst
freebsd-ports-gnome-061ab1382d37d22c9f472b3cd0cf90e803614374.zip
- Make work with binutils-2.23.2 by setting --copy-dt-needed-entries for ld.
See "Changes in 2.22" in http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/ld/NEWS?rev=1.131.2.1&content-type=text/plain&cvsroot=src&only_with_tag=binutils-binutils-2_23_2 - Bump portrevision. Reported by: Robert Burmeister <Robert.Burmeister@UToledo.edu>
-rw-r--r--math/sage/Makefile1
-rw-r--r--math/sage/files/gcc.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile
index e54423527f11..9e5848d485ae 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sage
PORTVERSION= 5.10
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \
http://mirrors.xmission.com/sage/src/ \
diff --git a/math/sage/files/gcc.in b/math/sage/files/gcc.in
index 5bc7c71bb3da..1aa66417a30d 100644
--- a/math/sage/files/gcc.in
+++ b/math/sage/files/gcc.in
@@ -10,5 +10,5 @@
if [ "x$*" = "x-v" ]; then
exec %%CC%% "$@"
else
- exec %%CC%% %%LDFLAGS%% "$@"
+ exec %%CC%% %%LDFLAGS%% -Wl,--copy-dt-needed-entries "$@"
fi