summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-04-17 14:44:31 +0000
committerhubertf <hubertf>2001-04-17 14:44:31 +0000
commit6f9da8572da446e7adfc7ac8b77d727e9950e577 (patch)
tree2d7b2c0261eca0a4730aed57782e03f13a4e228e /pkgtools
parent00f6a5362607202da34dca1b26ace7a132ff156a (diff)
downloadpkgsrc-6f9da8572da446e7adfc7ac8b77d727e9950e577.tar.gz
Warn user that the 'text' set must be installed in order to build
(and install) this package.
Diffstat (limited to 'pkgtools')
-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 \