summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-10-10 23:40:25 +0000
committersteve <steve@FreeBSD.org>1999-10-10 23:40:25 +0000
commit92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0 (patch)
treead16bcfe0d9bae2cec9080c10d3745cf1f18bd68
parentd42eb555ad0428abf6ed2883436a5248b7c88aa8 (diff)
downloadFreeBSD-ports-92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0.zip
FreeBSD-ports-92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0.tar.gz
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>
-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 c5461f0..9ee5701 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 ae00c1f..544ec0d 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
OpenPOWER on IntegriCloud