diff options
Diffstat (limited to 'time/ocaml-calendar/patches/patch-aa')
-rw-r--r-- | time/ocaml-calendar/patches/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/time/ocaml-calendar/patches/patch-aa b/time/ocaml-calendar/patches/patch-aa new file mode 100644 index 00000000000..0060b6fb8e5 --- /dev/null +++ b/time/ocaml-calendar/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1 2010/02/12 00:31:52 joerg Exp $ + +--- Makefile.in.orig 2010-02-12 00:29:07.000000000 +0000 ++++ Makefile.in +@@ -190,14 +190,7 @@ headers: + ######### + + install: $(LIBS) $(CLIBS) META +- @if [ "`sed -n -e 's/version = "\([0-9.]*\)"/\1/p' META`" = "$(VERSION)" ]; then \ +- (if test -d $(CAMLLIB)/site-lib/$(NAME); then $(MAKE) uninstall; fi;\ +- $(CAMLFIND) install $(NAME) target/*.cm[iox] $(MLI) $(CMI) $(CLIBS) META\ +- )else \ +- (echo; echo "Not the good version. Please, do :"; \ +- echo " make clean && make"; \ +- echo "next reinstall"; echo) \ +- fi ++ $(CAMLFIND) install -destdir ${DESTDIR}${CAMLLIB}/site-lib -ldconf /dev/null $(NAME) target/*.cm[iox] $(MLI) $(CMI) $(CLIBS) META\ + + uninstall: + $(CAMLFIND) remove $(NAME) |