mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Issue a warning if procfs is not mounted. This is a linuxism
we will remove soon, there is absolutly no reason that OO.org needs a running procfs. Unfortunatly OO.org does segfault at the moment without procfs, so this commit will make the live of some people easier. In CURRENT, procfs is disabled now by default ... Note that ${AWK}, ${GREP} etc are defined in the post section of our bsd.port.mk and need to be redefined to work. Requested indirectly by: mwlucas (who suffered a lot)
This commit is contained in:
parent
a72ffc79f0
commit
f2b32b838c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65842
@ -22,9 +22,13 @@ DISTFILES+= ${L10NHELP:S/$/:help/}
|
||||
|
||||
SORT?= /usr/bin/sort
|
||||
CUT?= /usr/bin/cut
|
||||
AWK?= /usr/bin/awk
|
||||
GREP?= /usr/bin/grep
|
||||
MOUNT?= /sbin/mount
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PROCFS!= ${MOUNT} | ${GREP} ^procfs | ${AWK} '{print $1}'
|
||||
INSTALLATION_BASEDIR= OpenOffice.org1.0
|
||||
DIST_SUBDIR= openoffice
|
||||
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
|
||||
@ -153,6 +157,22 @@ CONFIGURE_ARGS+= --enable-gcc3
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "REQUIREMENTS:"
|
||||
.if ${PROCFS}
|
||||
@${ECHO}
|
||||
@${ECHO} Check if procfs is running: YES
|
||||
.else
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
@${ECHO}
|
||||
@${ECHO} OpenOffice setup still needs a running procfs, which may
|
||||
@${ECHO} not be activated. Please read the procfs\(5\) manpage and
|
||||
@${ECHO} ensure the the following line is in /etc/fstab:
|
||||
@${ECHO}
|
||||
@${ECHO} proc /proc procfs rw 0 0
|
||||
@${ECHO}
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
.endif
|
||||
.if !defined(USE_GCC) || !defined(WITH_DEBUG)
|
||||
@${ECHO}
|
||||
@${ECHO} "OPTIONS:"
|
||||
|
@ -16,6 +16,14 @@ installation.
|
||||
|
||||
1.2 OO.org installed as package
|
||||
|
||||
First check if procfs is running. OO.org setup does depend on
|
||||
procfs and does crash without it. This dependency will be
|
||||
removed in future, but at the moment it is needed.
|
||||
Please read the procfs(5) manpage and ensure the the following
|
||||
line is in /etc/fstab:
|
||||
|
||||
proc /proc procfs rw 0 0
|
||||
|
||||
If you have just installed OO.org as package, there is no
|
||||
"make install-user" option available. Instead you'll have
|
||||
to run as the user you like to use OO.org:
|
||||
|
@ -22,9 +22,13 @@ DISTFILES+= ${L10NHELP:S/$/:help/}
|
||||
|
||||
SORT?= /usr/bin/sort
|
||||
CUT?= /usr/bin/cut
|
||||
AWK?= /usr/bin/awk
|
||||
GREP?= /usr/bin/grep
|
||||
MOUNT?= /sbin/mount
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PROCFS!= ${MOUNT} | ${GREP} ^procfs | ${AWK} '{print $1}'
|
||||
INSTALLATION_BASEDIR= OpenOffice.org1.0
|
||||
DIST_SUBDIR= openoffice
|
||||
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
|
||||
@ -153,6 +157,22 @@ CONFIGURE_ARGS+= --enable-gcc3
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "REQUIREMENTS:"
|
||||
.if ${PROCFS}
|
||||
@${ECHO}
|
||||
@${ECHO} Check if procfs is running: YES
|
||||
.else
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
@${ECHO}
|
||||
@${ECHO} OpenOffice setup still needs a running procfs, which may
|
||||
@${ECHO} not be activated. Please read the procfs\(5\) manpage and
|
||||
@${ECHO} ensure the the following line is in /etc/fstab:
|
||||
@${ECHO}
|
||||
@${ECHO} proc /proc procfs rw 0 0
|
||||
@${ECHO}
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
.endif
|
||||
.if !defined(USE_GCC) || !defined(WITH_DEBUG)
|
||||
@${ECHO}
|
||||
@${ECHO} "OPTIONS:"
|
||||
|
@ -16,6 +16,14 @@ installation.
|
||||
|
||||
1.2 OO.org installed as package
|
||||
|
||||
First check if procfs is running. OO.org setup does depend on
|
||||
procfs and does crash without it. This dependency will be
|
||||
removed in future, but at the moment it is needed.
|
||||
Please read the procfs(5) manpage and ensure the the following
|
||||
line is in /etc/fstab:
|
||||
|
||||
proc /proc procfs rw 0 0
|
||||
|
||||
If you have just installed OO.org as package, there is no
|
||||
"make install-user" option available. Instead you'll have
|
||||
to run as the user you like to use OO.org:
|
||||
|
@ -22,9 +22,13 @@ DISTFILES+= ${L10NHELP:S/$/:help/}
|
||||
|
||||
SORT?= /usr/bin/sort
|
||||
CUT?= /usr/bin/cut
|
||||
AWK?= /usr/bin/awk
|
||||
GREP?= /usr/bin/grep
|
||||
MOUNT?= /sbin/mount
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PROCFS!= ${MOUNT} | ${GREP} ^procfs | ${AWK} '{print $1}'
|
||||
INSTALLATION_BASEDIR= OpenOffice.org1.0
|
||||
DIST_SUBDIR= openoffice
|
||||
DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/
|
||||
@ -153,6 +157,22 @@ CONFIGURE_ARGS+= --enable-gcc3
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "REQUIREMENTS:"
|
||||
.if ${PROCFS}
|
||||
@${ECHO}
|
||||
@${ECHO} Check if procfs is running: YES
|
||||
.else
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
@${ECHO}
|
||||
@${ECHO} OpenOffice setup still needs a running procfs, which may
|
||||
@${ECHO} not be activated. Please read the procfs\(5\) manpage and
|
||||
@${ECHO} ensure the the following line is in /etc/fstab:
|
||||
@${ECHO}
|
||||
@${ECHO} proc /proc procfs rw 0 0
|
||||
@${ECHO}
|
||||
@${ECHO} -----------------------------------------------------------
|
||||
.endif
|
||||
.if !defined(USE_GCC) || !defined(WITH_DEBUG)
|
||||
@${ECHO}
|
||||
@${ECHO} "OPTIONS:"
|
||||
|
@ -16,6 +16,14 @@ installation.
|
||||
|
||||
1.2 OO.org installed as package
|
||||
|
||||
First check if procfs is running. OO.org setup does depend on
|
||||
procfs and does crash without it. This dependency will be
|
||||
removed in future, but at the moment it is needed.
|
||||
Please read the procfs(5) manpage and ensure the the following
|
||||
line is in /etc/fstab:
|
||||
|
||||
proc /proc procfs rw 0 0
|
||||
|
||||
If you have just installed OO.org as package, there is no
|
||||
"make install-user" option available. Instead you'll have
|
||||
to run as the user you like to use OO.org:
|
||||
|
Loading…
Reference in New Issue
Block a user