summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-10-10 23:40:25 +0000
committerSteve Price <steve@FreeBSD.org>1999-10-10 23:40:25 +0000
commite1e97cfc8fea5ba4ceb77e3e20ff027275781ede (patch)
tree232f0816cc31f6bc48d0c2471515d8def69ae4e1 /news
parentUpdate to version 3.17. (diff)
Use PKG_PREFIX in pkg/INSTALL instead of PREFIX so this will install
correctly from a pre-built package. PR: 13820 Submitted by: Matthias Meyser <Meyser@xenet.de>
Notes
Notes: svn path=/head/; revision=22331
Diffstat (limited to 'news')
-rw-r--r--news/ifmail/Makefile2
-rw-r--r--news/ifmail/pkg-install4
2 files changed, 3 insertions, 3 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index c5461f088206..9ee57013db03 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -19,7 +19,7 @@ MAN3= parsedate.3
MAN8= ifmail.8 iftoss.8
pre-install:
- @PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
+ @PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
${MKDIR} ${PREFIX}/libexec/ifmail
post-install:
diff --git a/news/ifmail/pkg-install b/news/ifmail/pkg-install
index ae00c1fd5e68..544ec0d2bdb4 100644
--- a/news/ifmail/pkg-install
+++ b/news/ifmail/pkg-install
@@ -92,9 +92,9 @@ EOF
#
# The package system untar's the file first, potentially before the
# ifmail user is created. This means that the files in
-# ${PREFIX}/libexec/ifmail will be setuid root, not setuid ifmail.
+# ${PKG_PREFIX}/libexec/ifmail will be setuid root, not setuid ifmail.
# We have to fix this up.
POST-INSTALL)
- chown ifmail ${PREFIX}/libexec/ifmail/*
+ chown ifmail ${PKG_PREFIX}/libexec/ifmail/*
;;
esac