+ocaml (3.10.0-3) UNRELEASED; urgency=low
+
+ * debian/rules
+ - pass -libdir to configure (now that it is supported upstream) in
+ addition to sed-ing generated config Makefiles; otherwise ocamlrun won't
+ get the correct libdir setting
+
+ -- Stefano Zacchiroli <zack@debian.org> Sat, 16 Jun 2007 15:48:10 +0100
+
ocaml (3.10.0-2) experimental; urgency=low
* Split two new packages: "camlp4" and "camlp4-extra" to cope with the huge
config-stamp: pre-config patch-stamp abi-sed
dh_testdir
- # Add here commands to configure the package.
./configure --with-pthread -prefix /usr \
+ -libdir /usr/lib/ocaml/$(OCAMLABI) \
-mandir /usr/share/man \
-tkdefs "-I/usr/include/tcl8.4" \
-tklibs "-L/usr/lib -ltk8.4 -ltcl8.4"
- sed -e "s%MANDIR=.*$$%MANDIR=\$$(PREFIX)/share/man%g" \
- -e "s%LIBDIR=.*$$%LIBDIR=\$$(PREFIX)/lib/ocaml/$(OCAMLABI)%g" \
- -e "s%STUBLIBDIR=.*$$%STUBLIBDIR=\$$(PREFIX)/lib/ocaml/$(OCAMLABI)/stublibs%g" \
- config/Makefile >config/Makefile.debian
+ sed -e "s%MANDIR=.*$$%MANDIR=\$$(PREFIX)/share/man%g" \
+ -e "s%LIBDIR=.*$$%LIBDIR=\$$(PREFIX)/lib/ocaml/$(OCAMLABI)%g" \
+ -e "s%STUBLIBDIR=.*$$%STUBLIBDIR=\$$(PREFIX)/lib/ocaml/$(OCAMLABI)/stublibs%g" \
+ config/Makefile > config/Makefile.debian
mv config/Makefile.debian config/Makefile
if test -z "`grep "OTHERLIBRARIES.*labltk" config/Makefile`"; then\
echo "Error, labltk library was not built"; \