summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2005-08-21 22:29:45 +0000
committerrillig <rillig>2005-08-21 22:29:45 +0000
commit7af71d88db8bfb8f11e1217fbeff4ce8a6f94ff9 (patch)
tree41348f40104db0629dc477eaf7da192c4b65cda1 /mk
parent52fc991ebb6865cf34d1c778547f8d07b4e2a029 (diff)
downloadpkgsrc-7af71d88db8bfb8f11e1217fbeff4ce8a6f94ff9.tar.gz
... and corrected a bug I had overseen. I had only tested that the function
works, not that it works in its environment.
Diffstat (limited to 'mk')
-rw-r--r--mk/install/bsd.pkginstall.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/bsd.pkginstall.mk b/mk/install/bsd.pkginstall.mk
index 33039964c07..1af7da1b9cf 100644
--- a/mk/install/bsd.pkginstall.mk
+++ b/mk/install/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.14 2005/08/21 22:27:09 rillig Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.15 2005/08/21 22:29:45 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -24,7 +24,7 @@ _FUNC_STRIP_PREFIX= \
s = substr(s, 1 + plen, length(s) - plen); \
} \
print s; \
- }' s="$$1" prefix="$$2" /dev/null; \
+ }' s="$$1" prefix=${PREFIX:Q} /dev/null; \
}
DEINSTALL_FILE= ${PKG_DB_TMPDIR}/+DEINSTALL