ports/lang/ocaml-camlp5/patches/patch-Makefile

12 lines
332 B
Text

Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -57,7 +57,7 @@ install:
for i in $(DIRS) compile; do \
(cd $$i; $(MAKE) install DESTDIR=$(DESTDIR); cd ..); \
done
- cp etc/topfind.camlp5 `ocamlc -where`/. || true
+ cp etc/topfind.camlp5 $(DESTDIR)/`ocamlc -where`/. || true
uninstall:
@if test -z "$(LIBDIR)"; then \