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

20 lines
773 B
Plaintext

$OpenBSD: patch-camlp4_config_configure_batch,v 1.3 2005/05/09 13:50:41 avsm Exp $
--- camlp4/config/configure_batch.orig Fri Jul 30 15:59:15 2004
+++ camlp4/config/configure_batch Tue Oct 5 20:54:00 2004
@@ -103,12 +103,12 @@ case "$bindir" in
*) echo "BINDIR=$bindir" >> Makefile.cnf;;
esac
case "$libdir" in
- "") echo 'LIBDIR=$(PREFIX)/lib/camlp4' >> Makefile.cnf
- libdir="$prefix/lib/camlp4";;
+ "") echo 'LIBDIR=$(PREFIX)/lib/ocaml' >> Makefile.cnf
+ libdir="$prefix/lib/ocaml";;
*) echo "LIBDIR=$libdir" >> Makefile.cnf;;
esac
case "$mandir" in
- "") echo 'MANDIR=$(PREFIX)/man/man1' >> Makefile.cnf
+ "") echo 'MANDIR=$(PREFIX)/man' >> Makefile.cnf
mandir="$prefix/man/man1";;
*) echo "MANDIR=$mandir" >> Makefile.cnf;;
esac