openbsd-ports/lang/ocaml/patches/patch-configure

21 lines
981 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2002/09/12 17:02:47 pvalchev Exp $
--- configure.orig Wed Aug 7 14:45:00 2002
+++ configure Wed Sep 11 08:46:17 2002
@@ -528,6 +528,7 @@ case "$host" in
rs6000-*-aix*) arch=power; model=rs6000; system=aix;;
powerpc-*-aix*) arch=power; model=ppc; system=aix;;
powerpc-*-linux*) arch=power; model=ppc; system=elf;;
+ macppc-*-*bsd*) arch=power; model=ppc; system=elf;;
powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody;;
arm*-*-linux*) arch=arm; system=linux;;
@@ -1325,7 +1326,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