diff options
Diffstat (limited to 'misc/staroffice/Makefile')
-rw-r--r-- | misc/staroffice/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/staroffice/Makefile b/misc/staroffice/Makefile index b3c7efd21ef..be44573995a 100644 --- a/misc/staroffice/Makefile +++ b/misc/staroffice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1999/12/07 20:59:26 sommerfeld Exp $ +# $NetBSD: Makefile,v 1.5 2000/03/15 07:00:52 rh Exp $ # DISTNAME= so51a_lnx_${LANGNO} @@ -99,6 +99,10 @@ pre-install: ${ECHO} "${DISTNAME} needs to be installed under X11."; \ exit 1; \ fi + @if [ "`/sbin/mount | grep 'on /proc' | cut -d ' ' -f 5`" != "procfs" ]; then \ + ${ECHO} "${DISTNAME} needs procfs to be mounted on /proc."; \ + exit 1; \ + fi @${CAT} ${PKGDIR}/PLIST.${LANGNO} ${PKGDIR}/PLIST >${PLIST_SRC} do-install: |