summaryrefslogtreecommitdiff
path: root/www/squid
diff options
context:
space:
mode:
authortaca <taca>2009-07-27 11:29:08 +0000
committertaca <taca>2009-07-27 11:29:08 +0000
commit4f02042faf500cf796880254d4f1e3e1c39ec7c5 (patch)
treeca3b23d017a5dfbacf815ec10d7d5780acc451cb /www/squid
parent091083a56a388375e7e1443b1231ff75736aa48b (diff)
downloadpkgsrc-4f02042faf500cf796880254d4f1e3e1c39ec7c5.tar.gz
Make it DESTDIR careful.
Diffstat (limited to 'www/squid')
-rw-r--r--www/squid/Makefile.squid10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/squid/Makefile.squid b/www/squid/Makefile.squid
index 497658071d4..8f9b99fb3a1 100644
--- a/www/squid/Makefile.squid
+++ b/www/squid/Makefile.squid
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.squid,v 1.13 2009/07/07 18:44:28 tron Exp $
+# $NetBSD: Makefile.squid,v 1.14 2009/07/27 11:29:08 taca Exp $
#
# used by www/squid27/Makefile
# used by www/squid30/Makefile
@@ -80,8 +80,8 @@ post-install: ${POST_INSTALL_EXTRA}
${INSTALL_DATA} ${PKGDIR}/../squid/files/$$f \
${DESTDIR}${PREFIX}/${DOCDIR}; \
done
- ${CHMOD} -w ${PREFIX}/libexec/pinger
+ ${CHMOD} -w ${DESTDIR}${PREFIX}/libexec/pinger
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- (${FIND} ${PREFIX}/share/squid/errors \! -type d -print; \
- ${FIND} ${PREFIX}/share/squid/icons \! -type d -print) | \
- ${SED} -e 's#^${PREFIX}/##' | ${SORT} >>${PLIST_SRC}
+ (${FIND} ${DESTDIR}${PREFIX}/share/squid/errors \! -type d -print; \
+ ${FIND} ${DESTDIR}${PREFIX}/share/squid/icons \! -type d -print) | \
+ ${SED} -e 's#^${DESTDIR}${PREFIX}/##' | ${SORT} >>${PLIST_SRC}