From c24e354853a9babe003dd00b1ecfa7203c088531 Mon Sep 17 00:00:00 2001 From: mrauch Date: Fri, 24 Jan 2003 11:15:02 +0000 Subject: The file /emul/linux/etc/mtab has to exist already during installation. --- misc/openoffice-linux/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'misc/openoffice-linux/Makefile') diff --git a/misc/openoffice-linux/Makefile b/misc/openoffice-linux/Makefile index 59b0d86f88e..b47d25e4c35 100644 --- a/misc/openoffice-linux/Makefile +++ b/misc/openoffice-linux/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2003/01/22 22:46:33 rh Exp $ +# $NetBSD: Makefile,v 1.3 2003/01/24 11:15:02 mrauch Exp $ DISTNAME= OOo_1.0.2_LinuxIntel_install PKGNAME= openoffice-linux-1.0.2 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= http://sf1.mirror.openoffice.org/stable/1.0.2/ \ http://www.fs.tum.de/~mrauch/OpenOffice/download/ @@ -12,6 +13,7 @@ COMMENT= Integrated office productivity suite (binary pkg) NO_CONFIGURE= # defined WRKSRC= ${WRKDIR}/install/ +INTERACTIVE_STAGE= install CONFLICTS+= staroffice-[0-9]* CONFLICTS+= openoffice-[0-9]* @@ -42,6 +44,13 @@ pre-install: checkforx ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ <${FILESDIR}/oo_setup.resp \ >oo_setup.resp" +. if ${OPSYS}=="NetBSD" && !exists(/emul/linux/etc/mtab) + @${ECHO} 'Error: Before you are able to install and use this package,' + @${ECHO} ' the file /emul/linux/etc/mtab must exist.' + @${ECHO} ' Please create this file, e.g. by running' + @${ECHO} ' "touch /emul/linux/etc/mtab".' + @${FALSE} +. endif do-install: -${SH} -c "cd ${WRKSRC}; \ -- cgit v1.2.3