ports/devel/ocaml-camlp4/files/patch-build_install.sh
Kurt Jaeger 50a1f2ecef New port: devel/ocaml-camlp4
Camlp4 is a software system for writing extensible parsers for
programming languages. It provides a set of OCaml libraries that are
used to define grammars as well as loadable syntax extensions of such
grammars. Camlp4 stands for Caml Preprocessor and Pretty-Printer and
one of its most important applications is the definition of
domain-specific extensions of the syntax of OCaml.

Camlp4 was part of the official OCaml distribution until its version
4.01.0. Since then it has been replaced by a simpler system which is
easier to maintain and to learn: ppx rewriters and extension points.

WWW: https://github.com/ocaml/camlp4

PR:		195773
Submitted by:	Michael Grünewald <michipili@gmail.com>
2015-05-01 14:15:19 +00:00

13 lines
346 B
Bash

--- build/install.sh.orig 2014-10-21 11:41:15 UTC
+++ build/install.sh
@@ -26,8 +26,8 @@ SAVED_LIBDIR="${LIBDIR}"
. ./config.sh
-BINDIR="${SAVED_BINDIR:-${BINDIR}}"
-LIBDIR="${SAVED_LIBDIR:-${LIBDIR}}"
+BINDIR="${DESTDIR}${SAVED_BINDIR:-${BINDIR}}"
+LIBDIR="${DESTDIR}${SAVED_LIBDIR:-${LIBDIR}}"
not_installed=$PWD/_build/not_installed