summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-04-17 14:44:31 +0000
committerhubertf <hubertf>2001-04-17 14:44:31 +0000
commitd8ad302b835319991093ac97cbf048bbb4d9009b (patch)
tree2d7b2c0261eca0a4730aed57782e03f13a4e228e /pkgtools/pkg_install
parentb751dc695a366d6eaac0e3bc6e1fb43cba052c31 (diff)
downloadpkgsrc-d8ad302b835319991093ac97cbf048bbb4d9009b.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 \