aboutsummaryrefslogtreecommitdiffstats
path: root/www/oops
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-19 04:16:05 +0800
committerpav <pav@FreeBSD.org>2005-07-19 04:16:05 +0800
commit5f009355ddb10cda1e16d4249205e63e3bdc6107 (patch)
treefc848585846b027e54e374f25de035882e7340c5 /www/oops
parent59dda449d957eead1b78f2e3e199b43ccabc04bb (diff)
downloadfreebsd-ports-gnome-5f009355ddb10cda1e16d4249205e63e3bdc6107.tar.gz
freebsd-ports-gnome-5f009355ddb10cda1e16d4249205e63e3bdc6107.tar.zst
freebsd-ports-gnome-5f009355ddb10cda1e16d4249205e63e3bdc6107.zip
- Fix build on FreeBSD 7
PR: ports/83675 Submitted by: marck (maintainer)
Diffstat (limited to 'www/oops')
-rw-r--r--www/oops/files/patch-configure.in11
1 files changed, 4 insertions, 7 deletions
diff --git a/www/oops/files/patch-configure.in b/www/oops/files/patch-configure.in
index f94af315582e..bfa29afc84fa 100644
--- a/www/oops/files/patch-configure.in
+++ b/www/oops/files/patch-configure.in
@@ -3,7 +3,7 @@ $FreeBSD$
--- configure.in.orig
+++ configure.in
-@@ -328,14 +328,20 @@
+@@ -328,14 +328,17 @@
rel=`uname -r`
case "$rel" in
4*)
@@ -16,13 +16,10 @@ $FreeBSD$
- *)
- CFLAGS="$CFLAGS -pthread"
- LIBS="-lc_r $LEXLIB $LIBS"
-+ 5.[012]*)
++ 5.[[012]]*)
+ LIBS="$PTHREAD_LIBS $LEXLIB $LIBS"
+ ;;
-+ 5*)
-+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS $PTHREAD_LIBS"
-+ ;;
-+ 6*)
++ [[567]]*)
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS $PTHREAD_LIBS"
+ ;;
+ *)
@@ -31,7 +28,7 @@ $FreeBSD$
;;
esac
RPATH_OPTION="-rpath"
-@@ -430,10 +436,10 @@
+@@ -430,10 +433,10 @@
esac
if test "X$MYSQL_PATH" != "X" ; then