aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-10-11 07:40:25 +0800
committersteve <steve@FreeBSD.org>1999-10-11 07:40:25 +0800
commit92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0 (patch)
treead16bcfe0d9bae2cec9080c10d3745cf1f18bd68 /news
parentd42eb555ad0428abf6ed2883436a5248b7c88aa8 (diff)
downloadfreebsd-ports-gnome-92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0.tar.gz
freebsd-ports-gnome-92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0.tar.zst
freebsd-ports-gnome-92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0.zip
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>
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