summaryrefslogtreecommitdiffstats
path: root/devel/g-wrap/files
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-03-04 06:53:01 +0000
committermezz <mezz@FreeBSD.org>2007-03-04 06:53:01 +0000
commit4850f0ef848725ae2b8644975fedc0f4f2d2312d (patch)
treee664e6171a592adcfae42f9084291ca65b44d166 /devel/g-wrap/files
parent12f7b21df0c4a92ba7c587a328925620196e6281 (diff)
downloadFreeBSD-ports-4850f0ef848725ae2b8644975fedc0f4f2d2312d.zip
FreeBSD-ports-4850f0ef848725ae2b8644975fedc0f4f2d2312d.tar.gz
- Fix the build on amd64.
- Fix the srfi extensions installation if they are already exist, install them anyway since there are no conflict in ports tree. Example, using portupgrade while upgrade and it will finding g-wrap exists then not install files as g-wrap will be uninstall when the build is done. - Bump the PORTREVISION to make sure the users to have srfi extensions back in their systems. Reported by: several, Peter Jeremy <peterjeremy@optushome.com.au> Tested by: Peter Jeremy <peterjeremy@optushome.com.au>
Diffstat (limited to 'devel/g-wrap/files')
-rw-r--r--devel/g-wrap/files/patch-configure55
1 files changed, 55 insertions, 0 deletions
diff --git a/devel/g-wrap/files/patch-configure b/devel/g-wrap/files/patch-configure
new file mode 100644
index 0000000..533ef97
--- /dev/null
+++ b/devel/g-wrap/files/patch-configure
@@ -0,0 +1,55 @@
+--- configure.orig Thu Mar 1 11:20:23 2007
++++ configure Thu Mar 1 11:23:45 2007
+@@ -3860,6 +3860,52 @@
+ rm -rf conftest*
+ ;;
+
++x86_64-*freebsd*|ppc*-*freebsd*|powerpc*-*freebsd*|s390*-*freebsd*|sparc*-*freebsd*)
++ # Find out which ABI we are using.
++ echo 'int i;' > conftest.$ac_ext
++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++ (eval $ac_compile) 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; then
++ case "`/usr/bin/file conftest.o`" in
++ *32-bit*)
++ case $host in
++ x86_64-*freebsd*)
++ LD="${LD-ld} -m elf_i386_fbsd"
++ ;;
++ ppc64-*freebsd*|powerpc64-*freebsd*)
++ LD="${LD-ld} -m elf32ppc_fbsd"
++ ;;
++ s390x-*freebsd*)
++ LD="${LD-ld} -m elf_s390"
++ ;;
++ sparc64-*freebsd*)
++ LD="${LD-ld} -m elf32_sparc"
++ ;;
++ esac
++ ;;
++ *64-bit*)
++ case $host in
++ x86_64-*freebsd*)
++ LD="${LD-ld} -m elf_x86_64_fbsd"
++ ;;
++ ppc*-*freebsd*|powerpc*-*freebsd*)
++ LD="${LD-ld} -m elf64ppc"
++ ;;
++ s390*-*freebsd*)
++ LD="${LD-ld} -m elf64_s390"
++ ;;
++ sparc*-*freebsd*)
++ LD="${LD-ld} -m elf64_sparc_fbsd"
++ ;;
++ esac
++ ;;
++ esac
++ fi
++ rm -rf conftest*
++ ;;
++
+ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
OpenPOWER on IntegriCloud