summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-18 20:16:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-18 20:16:05 +0000
commit8b97de1de4f04b89f46526d120126672c8dbd8db (patch)
tree5a1d94095f275027d76c156bf4a02d9130e1ed49
parentUpgrade to 2.3.1. (diff)
- Fix build on FreeBSD 7
PR: ports/83675 Submitted by: marck (maintainer)
Notes
Notes: svn path=/head/; revision=139533
-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