summaryrefslogtreecommitdiff
path: root/devel/ocaml-findlib/files/patch-src_findlib-toolbox_Makefile
blob: d057d48471d2eda7492e9ea63c8cd7f8e7f9093e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/findlib-toolbox/Makefile.orig	2016-03-07 14:46:34.000000000 +0100
+++ src/findlib-toolbox/Makefile	2016-03-10 22:51:25.360014000 +0100
@@ -13,7 +13,8 @@ make_wizard$(EXEC_SUFFIX): make_wizard.m
 	 	findlib.cma make_wizard.ml
 
 install:
-	cp make_wizard$(EXEC_SUFFIX) make_wizard.pattern $(prefix)$(OCAML_SITELIB)/findlib
+	mkdir -p $(DESTDIR)$(prefix)$(OCAML_SITELIB)/findlib
+	${BSD_INSTALL_DATA}  make_wizard$(EXEC_SUFFIX) make_wizard.pattern $(DESTDIR)$(prefix)$(OCAML_SITELIB)/findlib
 
 # uninstall: Nothing to do, because the removal of the findlib core also
 # deinstalls the make_wizard