From e1e97cfc8fea5ba4ceb77e3e20ff027275781ede Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 10 Oct 1999 23:40:25 +0000 Subject: 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 --- news/ifmail/Makefile | 2 +- news/ifmail/pkg-install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'news') 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 -- cgit v1.2.3