summaryrefslogtreecommitdiff
path: root/devel/ocaml-findlib/files/patch-src_findlib-toolbox_Makefile
blob: c3458e3b3a86a9c35951f4f35b5dfc2013d67203 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/findlib-toolbox/Makefile.orig	2016-11-18 13:04:46 UTC
+++ src/findlib-toolbox/Makefile
@@ -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