openbsd-ports/www/squid/patches/patch-ai
brad 85e8a0d4da upgrade to Squid 2.3.STABLE3
- NOTE: you can now override the dir used for cache/logs by using the
variable STATEDIR. i.e., "make STATEDIR=/alternate/dir package", and it
will be substituted into the INSTALL/DEINSTALL scripts.
2000-06-28 07:08:28 +00:00

33 lines
889 B
Plaintext

--- scripts/Makefile.in.orig Tue Jun 27 23:18:14 2000
+++ scripts/Makefile.in Tue Jun 27 23:20:19 2000
@@ -18,19 +18,21 @@
RANLIB = @RANLIB@
LN_S = @LN_S@
+DESTDIR =
+
all:
install:
- @if test ! -d $(exec_prefix); then \
- echo "mkdir $(exec_prefix)"; \
- mkdir $(exec_prefix); \
+ @if test ! -d $(DESTDIR)$(exec_prefix); then \
+ echo "${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(exec_prefix)"; \
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(exec_prefix); \
fi
- @if test ! -d $(bindir); then \
- echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ @if test ! -d $(DESTDIR)$(bindir); then \
+ echo "${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(bindir)"; \
+ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(bindir); \
fi
- $(INSTALL_BIN) RunCache $(bindir)
- $(INSTALL_BIN) RunAccel $(bindir)
+ $(INSTALL_BIN) RunCache $(DESTDIR)$(bindir)
+ $(INSTALL_BIN) RunAccel $(DESTDIR)$(bindir)
clean: