1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/finance/cbb/files/patch-reports_Makefile.in
Pietro Cerutti d60d13a463 - Convert to USES=tk
- Shebangfix
- STAGE-clean
- Add LICENSE
2014-02-17 16:41:21 +00:00

38 lines
1.0 KiB
Plaintext

--- reports/Makefile.in.orig 2014-02-17 17:08:01.000000000 +0100
+++ reports/Makefile.in 2014-02-17 17:08:39.000000000 +0100
@@ -32,7 +32,7 @@
includedir = @includedir@
oldincludedir = /usr/include
-DISTDIR =
+DISTDIR = ${STAGEDIR}
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -188,19 +188,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: