summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-04-17 14:44:31 +0000
committerhubertf <hubertf@pkgsrc.org>2001-04-17 14:44:31 +0000
commit9f0cac147aad2f2f4329f20490f0c55a36e91f5e (patch)
tree2d7b2c0261eca0a4730aed57782e03f13a4e228e /pkgtools/pkg_install
parent2b0473f220b038ad3aef6813527eeb786cd70ccf (diff)
downloadpkgsrc-9f0cac147aad2f2f4329f20490f0c55a36e91f5e.tar.gz
Warn user that the 'text' set must be installed in order to build
(and install) this package.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 28d4942bffe..09a48316af1 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2001/03/07 10:13:59 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2001/04/17 14:44:31 hubertf Exp $
# Note to package maintainers:
# To update the distfile of this pkg, cd to /usr/src/usr.sbin,
@@ -29,6 +29,10 @@ MANCOMPRESSED_IF_MANZ= yes
LOCALBASE= /usr
PKG_DBDIR?= /var/db/pkg
+.if ! exists(/usr/share/tmac/tmac.andoc)
+IGNORE+= "You need to have the 'text' set installed to build this package!"
+.endif
+
post-install:
if [ ! -f ${PKG_DBDIR}/pkgdb.byfile.db ]; then \
if [ ! -d ${PKG_DBDIR} ]; then \