summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-01-12 15:08:05 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-01-12 15:08:05 +0000
commit47a34e156718facf7161a16cdb41cbb56e8a03f3 (patch)
tree9459d5e199c4fb7f41a7c136c6e1555b969ecc5a /editors
parentAdd wallpaper management tool for the ROX desktop. (diff)
Remove the procfs dependency. Use the PS_STRINGS macro to get argv[].
Notes
Notes: svn path=/head/; revision=72972
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/Makefile15
-rw-r--r--editors/openoffice-1.0/files/patch-sal+osl+unx+system.h28
-rw-r--r--editors/openoffice-1.0/pkg-message8
-rw-r--r--editors/openoffice.org-1.0/Makefile15
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h28
-rw-r--r--editors/openoffice.org-1.0/pkg-message8
-rw-r--r--editors/openoffice/Makefile15
-rw-r--r--editors/openoffice/files/patch-sal+osl+unx+system.h28
-rw-r--r--editors/openoffice/pkg-message8
9 files changed, 69 insertions, 84 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index 1ceb2134c072..af95b9deeb4e 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -35,7 +35,6 @@ TCSH?= /bin/tcsh
.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/
@@ -166,20 +165,6 @@ CONFIGURE_ARGS+= --enable-gcc3
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:"
diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h b/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h
index d75cac79f29e..c4e255952fc7 100644
--- a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h
+++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h
@@ -1,6 +1,20 @@
---- ../sal/osl/unx/system.h.orig Mon Mar 11 01:41:13 2002
-+++ ../sal/osl/unx/system.h Mon Mar 11 01:41:25 2002
-@@ -216,12 +216,9 @@
+--- ../sal/osl/unx/system.h.orig Wed Jun 5 16:24:19 2002
++++ ../sal/osl/unx/system.h Sun Jan 12 15:48:03 2003
+@@ -205,6 +205,13 @@
+ # include <sys/ioctl.h>
+ # include <sys/time.h>
+ # include <sys/uio.h>
++# include <sys/exec.h>
++# include <vm/vm.h>
++# include <vm/vm_param.h>
++# include <vm/pmap.h>
++# include <vm/swap_pager.h>
++# include <machine/vmparam.h>
++# include <machine/pmap.h>
+ # include <sys/un.h>
+ # include <netinet/tcp.h>
+ # define IORESOURCE_TRANSFER_BSD
+@@ -216,12 +223,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
@@ -10,8 +24,12 @@
-# define NO_PTHREAD_PRIORITY
-# define CMD_ARG_PRG __progname
-# define CMD_ARG_ENV environ
-+# define CMD_ARG_PROC_STREAM
-+# define CMD_ARG_PROC_NAME "/proc/%u/cmdline"
++/* __progname isn't sufficient here. We need the full path as well
++ * for e.g. setup and __progname only points to the binary name.
++ */
++# define CMD_ARG_PRG_IS_DEFINED
++# define CMD_ARG_PRG *((struct ps_strings *)PS_STRINGS)->ps_argvstr
++# define CMD_ARG_ENV environ
#endif
#ifdef SCO
diff --git a/editors/openoffice-1.0/pkg-message b/editors/openoffice-1.0/pkg-message
index 15a812900a45..1bb93464e42b 100644
--- a/editors/openoffice-1.0/pkg-message
+++ b/editors/openoffice-1.0/pkg-message
@@ -16,14 +16,6 @@ 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:
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index 1ceb2134c072..af95b9deeb4e 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/Makefile
@@ -35,7 +35,6 @@ TCSH?= /bin/tcsh
.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/
@@ -166,20 +165,6 @@ CONFIGURE_ARGS+= --enable-gcc3
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:"
diff --git a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h
index d75cac79f29e..c4e255952fc7 100644
--- a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h
+++ b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h
@@ -1,6 +1,20 @@
---- ../sal/osl/unx/system.h.orig Mon Mar 11 01:41:13 2002
-+++ ../sal/osl/unx/system.h Mon Mar 11 01:41:25 2002
-@@ -216,12 +216,9 @@
+--- ../sal/osl/unx/system.h.orig Wed Jun 5 16:24:19 2002
++++ ../sal/osl/unx/system.h Sun Jan 12 15:48:03 2003
+@@ -205,6 +205,13 @@
+ # include <sys/ioctl.h>
+ # include <sys/time.h>
+ # include <sys/uio.h>
++# include <sys/exec.h>
++# include <vm/vm.h>
++# include <vm/vm_param.h>
++# include <vm/pmap.h>
++# include <vm/swap_pager.h>
++# include <machine/vmparam.h>
++# include <machine/pmap.h>
+ # include <sys/un.h>
+ # include <netinet/tcp.h>
+ # define IORESOURCE_TRANSFER_BSD
+@@ -216,12 +223,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
@@ -10,8 +24,12 @@
-# define NO_PTHREAD_PRIORITY
-# define CMD_ARG_PRG __progname
-# define CMD_ARG_ENV environ
-+# define CMD_ARG_PROC_STREAM
-+# define CMD_ARG_PROC_NAME "/proc/%u/cmdline"
++/* __progname isn't sufficient here. We need the full path as well
++ * for e.g. setup and __progname only points to the binary name.
++ */
++# define CMD_ARG_PRG_IS_DEFINED
++# define CMD_ARG_PRG *((struct ps_strings *)PS_STRINGS)->ps_argvstr
++# define CMD_ARG_ENV environ
#endif
#ifdef SCO
diff --git a/editors/openoffice.org-1.0/pkg-message b/editors/openoffice.org-1.0/pkg-message
index 15a812900a45..1bb93464e42b 100644
--- a/editors/openoffice.org-1.0/pkg-message
+++ b/editors/openoffice.org-1.0/pkg-message
@@ -16,14 +16,6 @@ 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:
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index 1ceb2134c072..af95b9deeb4e 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -35,7 +35,6 @@ TCSH?= /bin/tcsh
.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/
@@ -166,20 +165,6 @@ CONFIGURE_ARGS+= --enable-gcc3
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:"
diff --git a/editors/openoffice/files/patch-sal+osl+unx+system.h b/editors/openoffice/files/patch-sal+osl+unx+system.h
index d75cac79f29e..c4e255952fc7 100644
--- a/editors/openoffice/files/patch-sal+osl+unx+system.h
+++ b/editors/openoffice/files/patch-sal+osl+unx+system.h
@@ -1,6 +1,20 @@
---- ../sal/osl/unx/system.h.orig Mon Mar 11 01:41:13 2002
-+++ ../sal/osl/unx/system.h Mon Mar 11 01:41:25 2002
-@@ -216,12 +216,9 @@
+--- ../sal/osl/unx/system.h.orig Wed Jun 5 16:24:19 2002
++++ ../sal/osl/unx/system.h Sun Jan 12 15:48:03 2003
+@@ -205,6 +205,13 @@
+ # include <sys/ioctl.h>
+ # include <sys/time.h>
+ # include <sys/uio.h>
++# include <sys/exec.h>
++# include <vm/vm.h>
++# include <vm/vm_param.h>
++# include <vm/pmap.h>
++# include <vm/swap_pager.h>
++# include <machine/vmparam.h>
++# include <machine/pmap.h>
+ # include <sys/un.h>
+ # include <netinet/tcp.h>
+ # define IORESOURCE_TRANSFER_BSD
+@@ -216,12 +223,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
@@ -10,8 +24,12 @@
-# define NO_PTHREAD_PRIORITY
-# define CMD_ARG_PRG __progname
-# define CMD_ARG_ENV environ
-+# define CMD_ARG_PROC_STREAM
-+# define CMD_ARG_PROC_NAME "/proc/%u/cmdline"
++/* __progname isn't sufficient here. We need the full path as well
++ * for e.g. setup and __progname only points to the binary name.
++ */
++# define CMD_ARG_PRG_IS_DEFINED
++# define CMD_ARG_PRG *((struct ps_strings *)PS_STRINGS)->ps_argvstr
++# define CMD_ARG_ENV environ
#endif
#ifdef SCO
diff --git a/editors/openoffice/pkg-message b/editors/openoffice/pkg-message
index 15a812900a45..1bb93464e42b 100644
--- a/editors/openoffice/pkg-message
+++ b/editors/openoffice/pkg-message
@@ -16,14 +16,6 @@ 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: