summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorrillig <rillig>2005-08-21 22:29:45 +0000
committerrillig <rillig>2005-08-21 22:29:45 +0000
commit439e9a9d86bfa4eb936c09f943a57e36db37d0b0 (patch)
tree41348f40104db0629dc477eaf7da192c4b65cda1 /mk/install
parent0a0259d4990457a052a026f5231dcda2239bc55f (diff)
downloadpkgsrc-439e9a9d86bfa4eb936c09f943a57e36db37d0b0.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/install')
-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