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/fddd8a41c65c
branches:  trunk
changeset: 562410:fddd8a41c65c
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 134539ed5cbd -r fddd8a41c65c 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