aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2007-02-15 20:21:38 +0800
committergerald <gerald@FreeBSD.org>2007-02-15 20:21:38 +0800
commitca2d5b83ed1648ca02b8d3ccd24f977fb1bb14e9 (patch)
tree0f5aab1b031060b749fd7c51c196f281d7f82bfc /lang
parentf56378c2f29d0beeabb96039fac8b2817cd0e26d (diff)
downloadfreebsd-ports-gnome-ca2d5b83ed1648ca02b8d3ccd24f977fb1bb14e9.tar.gz
freebsd-ports-gnome-ca2d5b83ed1648ca02b8d3ccd24f977fb1bb14e9.tar.zst
freebsd-ports-gnome-ca2d5b83ed1648ca02b8d3ccd24f977fb1bb14e9.zip
Account for the removal of /usr/bin/objformat on 7-CURRENT and default
to elf instead of aout in this case. Bump PORTREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc34/Makefile1
-rw-r--r--lang/gcc34/files/patch-ltconfig14
2 files changed, 15 insertions, 0 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index cb860bc20a74..af39caea449e 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gcc
PORTVERSION= 3.4.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang
VERSIONSTRING= ${PORTVERSION}
diff --git a/lang/gcc34/files/patch-ltconfig b/lang/gcc34/files/patch-ltconfig
new file mode 100644
index 000000000000..238574b8adac
--- /dev/null
+++ b/lang/gcc34/files/patch-ltconfig
@@ -0,0 +1,14 @@
+Index: ltconfig
+===================================================================
+--- ltconfig
++++ ltconfig (working copy)
+@@ -1133,7 +1133,7 @@
+ ;;
+
+ freebsd*)
+- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+