diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-07-30 09:37:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-07-30 09:37:16 +0000 |
commit | 00ddfaed6a40fc9985995b1d4095b9fd149811db (patch) | |
tree | 28c93f8b6b87574c363f6dd7b723996c454cdbaf /lang/ocaml | |
parent | e6ab85a923a348b131741ebaaaa1b6d4779386f5 (diff) | |
download | freebsd-ports-00ddfaed6a40fc9985995b1d4095b9fd149811db.zip |
Fix the build on PowerPC (again) that was broken as of r385012.
Diffstat (limited to 'lang/ocaml')
-rw-r--r-- | lang/ocaml/files/patch-configure | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lang/ocaml/files/patch-configure b/lang/ocaml/files/patch-configure index 52225bc723ae..c9f609782352 100644 --- a/lang/ocaml/files/patch-configure +++ b/lang/ocaml/files/patch-configure @@ -21,7 +21,13 @@ sharedcccompopts="-fPIC" mksharedlib="$bytecc -shared" bytecclinkopts="$bytecclinkopts -Wl,-E" -@@ -766,6 +767,7 @@ if test $with_sharedlibs = "yes"; then +@@ -761,11 +758,13 @@ if test $with_sharedlibs = "yes"; then + fi;; + x86_64-*-darwin*) natdynlink=true;; + powerpc*-*-linux*) natdynlink=true;; ++ powerpc*-*-freebsd*) natdynlink=true;; + sparc*-*-linux*) natdynlink=true;; + i686-*-kfreebsd*) natdynlink=true;; x86_64-*-kfreebsd*) natdynlink=true;; i[3456]86-*-freebsd*) natdynlink=true;; x86_64-*-freebsd*) natdynlink=true;; @@ -29,7 +35,15 @@ i[3456]86-*-openbsd*) natdynlink=true;; x86_64-*-openbsd*) natdynlink=true;; i[3456]86-*-netbsd*) natdynlink=true;; -@@ -833,6 +835,7 @@ case "$target" in +@@ -815,6 +814,7 @@ case "$target" in + i[3456]86-*-gnu*) arch=i386; system=gnu;; + i[3456]86-*-mingw*) arch=i386; system=mingw;; + powerpc*-*-linux*) arch=power; model=ppc; system=elf;; ++ powerpc-*-freebsd*) arch=power; model=ppc; system=bsd_elf;; + powerpc-*-netbsd*) arch=power; model=ppc; system=elf;; + powerpc-*-openbsd*) arch=power; model=ppc; system=bsd_elf;; + powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;; +@@ -833,6 +833,7 @@ case "$target" in zaurus*-*-openbsd*) arch=arm; system=bsd;; x86_64-*-linux*) arch=amd64; system=linux;; x86_64-*-gnu*) arch=amd64; system=gnu;; |