summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/patches/patch-bh')
-rw-r--r--lang/ocaml/patches/patch-bh21
1 files changed, 10 insertions, 11 deletions
diff --git a/lang/ocaml/patches/patch-bh b/lang/ocaml/patches/patch-bh
index b32dbf812ae..469cd60cac0 100644
--- a/lang/ocaml/patches/patch-bh
+++ b/lang/ocaml/patches/patch-bh
@@ -1,8 +1,8 @@
-$NetBSD: patch-bh,v 1.2 2005/12/22 14:37:17 joerg Exp $
+$NetBSD: patch-bh,v 1.3 2009/09/07 21:48:14 tonio Exp $
---- otherlibs/labltk/lib/Makefile.orig Fri Aug 9 02:46:30 2002
-+++ otherlibs/labltk/lib/Makefile Thu Apr 22 10:34:37 2004
-@@ -58,17 +58,13 @@
+--- otherlibs/labltk/lib/Makefile.orig 2009-04-30 16:24:53.000000000 +0200
++++ otherlibs/labltk/lib/Makefile 2009-05-21 11:18:47.000000000 +0200
+@@ -58,17 +58,12 @@
@echo 'exec $(INSTALLDIR)/$(LIBNAME)top$(EXE) -I $(INSTALLDIR) $$*' >> $@
install:
@@ -14,16 +14,15 @@ $NetBSD: patch-bh,v 1.2 2005/12/22 14:37:17 joerg Exp $
- cp $(LIBNAME) $(BINDIR)
- chmod 755 $(BINDIR)/$(LIBNAME)
+ if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR); fi
-+ ${BSD_INSTALL_DATA} $(LIBNAME).cma $(INSTALLDIR)
-+ ${BSD_INSTALL_SCRIPT} $(LIBNAME)top$(EXE) $(INSTALLDIR)
-+ @if test -d $(BINDIR); then : ; else ${BSD_INSTALL_PROGRAM_DIR} $(BINDIR); fi
++ ${BSD_INSTALL_DATA} $(LIBNAME).cma $(LIBNAME)top$(EXE) $(INSTALLDIR)
++ @if test -d $(BINDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(BINDIR); fi
+ ${BSD_INSTALL_SCRIPT} $(LIBNAME) $(BINDIR)
installopt:
- @if test -d $(INSTALLDIR); then : ; else mkdir $(INSTALLDIR); fi
-- cp $(LIBNAME).cmxa $(LIBNAME).a $(INSTALLDIR)
+- cp $(LIBNAME).cmxa $(LIBNAME).$(A) $(INSTALLDIR)
+ @if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR); fi
-+ ${BSD_INSTALL_DATA} $(LIBNAME).cmxa $(LIBNAME).a $(INSTALLDIR)
- cd $(INSTALLDIR); $(RANLIB) $(LIBNAME).a
++ ${BSD_INSTALL_DATA} $(LIBNAME).cmxa $(LIBNAME).$(A) $(INSTALLDIR)
+ cd $(INSTALLDIR); $(RANLIB) $(LIBNAME).$(A)
- chmod 644 $(INSTALLDIR)/$(LIBNAME).cmxa
-- chmod 644 $(INSTALLDIR)/$(LIBNAME).a
+- chmod 644 $(INSTALLDIR)/$(LIBNAME).$(A)