pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/install ... and corrected a bug I had overseen. I h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/995daf372a2c
branches:  trunk
changeset: 498413:995daf372a2c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Aug 21 22:29:45 2005 +0000

description:
... and corrected a bug I had overseen. I had only tested that the function
works, not that it works in its environment.

diffstat:

 mk/install/bsd.pkginstall.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 518e333a4bd3 -r 995daf372a2c mk/install/bsd.pkginstall.mk
--- a/mk/install/bsd.pkginstall.mk      Sun Aug 21 22:27:09 2005 +0000
+++ b/mk/install/bsd.pkginstall.mk      Sun Aug 21 22:29:45 2005 +0000
@@ -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 @@
                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



Home | Main Index | Thread Index | Old Index