aboutsummaryrefslogtreecommitdiff
path: root/finance/cbb/files/patch-docs_Makefile.in
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-17 16:41:21 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-17 16:41:21 +0000
commitd60d13a4633042f2063ff19049c26ba07d440eb7 (patch)
tree7629240bbfabc978e53a8807fa2593c59e921129 /finance/cbb/files/patch-docs_Makefile.in
parent028b79449fa1bb52604a68deeb5050e802bcffb3 (diff)
downloadports-d60d13a4633042f2063ff19049c26ba07d440eb7.tar.gz
ports-d60d13a4633042f2063ff19049c26ba07d440eb7.zip
Notes
Diffstat (limited to 'finance/cbb/files/patch-docs_Makefile.in')
-rw-r--r--finance/cbb/files/patch-docs_Makefile.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/finance/cbb/files/patch-docs_Makefile.in b/finance/cbb/files/patch-docs_Makefile.in
new file mode 100644
index 000000000000..8c0db08623b6
--- /dev/null
+++ b/finance/cbb/files/patch-docs_Makefile.in
@@ -0,0 +1,37 @@
+--- docs/Makefile.in.orig 2014-02-17 16:56:01.000000000 +0100
++++ docs/Makefile.in 2014-02-17 16:56:49.000000000 +0100
+@@ -32,7 +32,7 @@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+
+-DISTDIR =
++DISTDIR = ${STAGEDIR}
+
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+@@ -264,19 +264,19 @@
+ # Create install directories
+ make-dirs:
+ umask 022; \
+- if test '!' -d $(CBB_BINDIR); then \
+- mkdir -p $(CBB_BINDIR); \
++ if test '!' -d $(DISTDIR)$(CBB_BINDIR); then \
++ mkdir -p $(DISTDIR)$(CBB_BINDIR); \
+ fi; \
+- if test '!' -d $(CBB_LIBDIR); then \
+- mkdir -p $(CBB_LIBDIR); \
++ if test '!' -d $(DISTDIR)$(CBB_LIBDIR); then \
++ mkdir -p $(DISTDIR)$(CBB_LIBDIR); \
+ fi;
+
+ install-exec-local: make-dirs
+ if test -n "$(CBB_BINFILES)"; then \
+- $(INSTALL) $(CBB_BINFILES) $(CBB_BINDIR); \
++ $(INSTALL) $(CBB_BINFILES) $(DISTDIR)$(CBB_BINDIR); \
+ fi;
+ if test -n "$(CBB_LIBFILES)"; then \
+- $(INSTALL) $(CBB_LIBFILES) $(CBB_LIBDIR); \
++ $(INSTALL) $(CBB_LIBFILES) $(DISTDIR)$(CBB_LIBDIR); \
+ fi;
+
+ dist-hook: