diff options
author | tron <tron@pkgsrc.org> | 2009-07-08 15:02:01 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-07-08 15:02:01 +0000 |
commit | 8d332399aa8a4e1492c93c8abc91c69292c44a0a (patch) | |
tree | 386d86e0877ea1cb6fcd598fb22092dd6a5a548a /www/squid31 | |
parent | fa845f5a34451fd3b8fd16ef77bfb32e037d6482 (diff) | |
download | pkgsrc-8d332399aa8a4e1492c93c8abc91c69292c44a0a.tar.gz |
Fix destdir build.
Diffstat (limited to 'www/squid31')
-rw-r--r-- | www/squid31/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/www/squid31/Makefile b/www/squid31/Makefile index adf58cacdd1..f941ac994b1 100644 --- a/www/squid31/Makefile +++ b/www/squid31/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/07/07 18:25:13 tron Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/08 15:02:01 tron Exp $ DISTNAME= squid-3.1.0.9 PKGNAME= ${DISTNAME} # Necessary for "pkgsrc/www/squid/options.mk" @@ -36,15 +36,15 @@ post-build: ${WRKSRC}/src/squid.conf.default install-error-pages: - cd ${WRKSRC}/errors && \ - for DIR in *; do \ - if [ -d $$DIR ]; then \ - ERROR_DIR=${PREFIX}/share/squid/errors/$$DIR; \ - ${INSTALL_DATA_DIR} $$ERROR_DIR; \ - for FILE in $$DIR/ERR_*; do \ - ${INSTALL_DATA} $$FILE $$ERROR_DIR; \ - done; \ - fi; \ + cd ${WRKSRC}/errors && \ + for DIR in *; do \ + if [ -d $$DIR ]; then \ + ERROR_DIR=${DESTDIR}${PREFIX}/share/squid/errors/$$DIR; \ + ${INSTALL_DATA_DIR} $$ERROR_DIR; \ + for FILE in $$DIR/ERR_*; do \ + ${INSTALL_DATA} $$FILE $$ERROR_DIR; \ + done; \ + fi; \ done ${LN} -s en ${PREFIX}/share/squid/errors/templates |