pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/squid Make it DESTDIR careful.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f4e7465fdfb
branches:  trunk
changeset: 396558:0f4e7465fdfb
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jul 27 11:29:08 2009 +0000

description:
Make it DESTDIR careful.

diffstat:

 www/squid/Makefile.squid |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r b13bf2f1c2dc -r 0f4e7465fdfb www/squid/Makefile.squid
--- a/www/squid/Makefile.squid  Mon Jul 27 10:49:09 2009 +0000
+++ b/www/squid/Makefile.squid  Mon Jul 27 11:29:08 2009 +0000
@@ -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 @@
                ${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}



Home | Main Index | Thread Index | Old Index