diff options
author | maho <maho@FreeBSD.org> | 2004-12-18 11:06:13 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-12-18 11:06:13 +0800 |
commit | 5662d4fe44474b8e0b10c4e7d4e0825c2f204bd5 (patch) | |
tree | 23f169a452b53b968ca228306f082d0b458731aa /editors | |
parent | 54032f840021d8931f62cad7d3f93dc3c5e4ddaf (diff) | |
download | freebsd-ports-gnome-5662d4fe44474b8e0b10c4e7d4e0825c2f204bd5.tar.gz freebsd-ports-gnome-5662d4fe44474b8e0b10c4e7d4e0825c2f204bd5.tar.zst freebsd-ports-gnome-5662d4fe44474b8e0b10c4e7d4e0825c2f204bd5.zip |
Fix PTHREAD_CFLAGS, PTHREAD_LIBS, hardcoded
inside config_office/configure.in
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-1.1/files/patch-config_office+configure.in | 48 | ||||
-rw-r--r-- | editors/openoffice.org-1.1/files/patch-config_office+configure.in | 48 |
2 files changed, 96 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-config_office+configure.in b/editors/openoffice-1.1/files/patch-config_office+configure.in new file mode 100644 index 000000000000..e7ffb67330a6 --- /dev/null +++ b/editors/openoffice-1.1/files/patch-config_office+configure.in @@ -0,0 +1,48 @@ +Index: config_office/configure.in +=================================================================== +RCS file: /cvs/tools/config_office/configure.in,v +retrieving revision 1.55.6.10 +diff -u -r1.55.6.10 configure.in +--- config_office/configure.in 27 Aug 2004 10:03:41 -0000 1.55.6.10 ++++ config_office/configure.in 18 Dec 2004 03:13:51 -0000 +@@ -357,13 +357,14 @@ + OSVERSION=`/sbin/sysctl -n kern.osreldate` + fi + AC_MSG_RESULT([found OSVERSION=$OSVERSION]) +- PTHREAD_CFLAGS="-D_THREAD_SAFE" + if test "$OSVERSION" -lt "500016"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-pthread" + elif test "$OSVERSION" -lt "502102"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-lc_r" + else +- PTHREAD_LIBS="-lpthread" ++ PTHREAD_LIBS="-pthread" + fi + ;; + "OSF1") +Index: config_office/configure.in +=================================================================== +RCS file: /cvs/tools/config_office/configure.in,v +retrieving revision 1.55.6.10 +diff -u -r1.55.6.10 configure.in +--- config_office/configure.in 27 Aug 2004 10:03:41 -0000 1.55.6.10 ++++ config_office/configure.in 18 Dec 2004 03:13:51 -0000 +@@ -357,13 +357,14 @@ + OSVERSION=`/sbin/sysctl -n kern.osreldate` + fi + AC_MSG_RESULT([found OSVERSION=$OSVERSION]) +- PTHREAD_CFLAGS="-D_THREAD_SAFE" + if test "$OSVERSION" -lt "500016"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-pthread" + elif test "$OSVERSION" -lt "502102"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-lc_r" + else +- PTHREAD_LIBS="-lpthread" ++ PTHREAD_LIBS="-pthread" + fi + ;; + "OSF1") diff --git a/editors/openoffice.org-1.1/files/patch-config_office+configure.in b/editors/openoffice.org-1.1/files/patch-config_office+configure.in new file mode 100644 index 000000000000..e7ffb67330a6 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-config_office+configure.in @@ -0,0 +1,48 @@ +Index: config_office/configure.in +=================================================================== +RCS file: /cvs/tools/config_office/configure.in,v +retrieving revision 1.55.6.10 +diff -u -r1.55.6.10 configure.in +--- config_office/configure.in 27 Aug 2004 10:03:41 -0000 1.55.6.10 ++++ config_office/configure.in 18 Dec 2004 03:13:51 -0000 +@@ -357,13 +357,14 @@ + OSVERSION=`/sbin/sysctl -n kern.osreldate` + fi + AC_MSG_RESULT([found OSVERSION=$OSVERSION]) +- PTHREAD_CFLAGS="-D_THREAD_SAFE" + if test "$OSVERSION" -lt "500016"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-pthread" + elif test "$OSVERSION" -lt "502102"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-lc_r" + else +- PTHREAD_LIBS="-lpthread" ++ PTHREAD_LIBS="-pthread" + fi + ;; + "OSF1") +Index: config_office/configure.in +=================================================================== +RCS file: /cvs/tools/config_office/configure.in,v +retrieving revision 1.55.6.10 +diff -u -r1.55.6.10 configure.in +--- config_office/configure.in 27 Aug 2004 10:03:41 -0000 1.55.6.10 ++++ config_office/configure.in 18 Dec 2004 03:13:51 -0000 +@@ -357,13 +357,14 @@ + OSVERSION=`/sbin/sysctl -n kern.osreldate` + fi + AC_MSG_RESULT([found OSVERSION=$OSVERSION]) +- PTHREAD_CFLAGS="-D_THREAD_SAFE" + if test "$OSVERSION" -lt "500016"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-pthread" + elif test "$OSVERSION" -lt "502102"; then ++ PTHREAD_CFLAGS="-D_THREAD_SAFE" + PTHREAD_LIBS="-lc_r" + else +- PTHREAD_LIBS="-lpthread" ++ PTHREAD_LIBS="-pthread" + fi + ;; + "OSF1") |