openbsd-ports/lang/ocaml/patches/patch-configure
2003-12-31 17:05:28 +00:00

21 lines
997 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2003/12/31 17:05:28 sturm Exp $
--- configure.orig 2003-09-29 23:08:30.000000000 +0200
+++ configure 2003-09-29 23:10:36.000000000 +0200
@@ -555,6 +555,7 @@ case "$host" in
powerpc-*-aix*) arch=power; model=ppc; system=aix;;
powerpc-*-linux*) arch=power; model=ppc; system=elf;;
powerpc-*-netbsd*) arch=power; model=ppc; system=bsd;;
+ macppc-*-openbsd*) arch=power; model=ppc; system=bsd;;
powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody;;
arm*-*-linux*) arch=arm; system=linux;;
@@ -1411,7 +1412,7 @@ fi
(
cd ../../camlp4/config
-EXE=$exe ./configure_batch -bindir "$bindir" -libdir "$libdir" -mandir "$mandir" -ocaml-top ../.. > /dev/null
+EXE=$exe ./configure_batch -prefix "$prefix" -ocaml-top ../.. > /dev/null
)
# Final twiddling of compiler options to work around known bugs