summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 13:20:16 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-03 13:20:16 +0000
commitb654a9a59cd2a3a254bb6c560c9ce4cb7a9aa218 (patch)
tree2331aaf4d1a7bbb2b80efe14a5f8ca9ca255c873 /devel
parentApply RealVideo 9 codec upgrade. (diff)
Configure and build thread support.
Notes
Notes: svn path=/head/; revision=76795
Diffstat (limited to 'devel')
-rw-r--r--devel/simgear/Makefile2
-rw-r--r--devel/simgear/files/patch-ab28
-rw-r--r--devel/simgear/pkg-plist5
3 files changed, 34 insertions, 1 deletions
diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile
index 99846adb2622..92a0f0b073b2 100644
--- a/devel/simgear/Makefile
+++ b/devel/simgear/Makefile
@@ -7,7 +7,7 @@
PORTNAME= SimGear
PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel games
MASTER_SITES= ftp://ftp.simgear.org/pub/simgear/Source/ \
ftp://ftp.de.flightgear.org/pub/simgear/
diff --git a/devel/simgear/files/patch-ab b/devel/simgear/files/patch-ab
new file mode 100644
index 000000000000..7f552ed91c9e
--- /dev/null
+++ b/devel/simgear/files/patch-ab
@@ -0,0 +1,28 @@
+--- configure.orig Mon Mar 3 14:01:49 2003
++++ configure Mon Mar 3 14:01:59 2003
+@@ -5063,13 +5063,13 @@
+ base_LIBS="$LIBS"
+
+
+-echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for pthread_exit in -pthread" >&5
++echo $ECHO_N "checking for pthread_exit in -pthread... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -5117,7 +5117,7 @@
+ #define HAVE_LIBPTHREAD 1
+ _ACEOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-pthread $LIBS"
+
+ fi
+
diff --git a/devel/simgear/pkg-plist b/devel/simgear/pkg-plist
index fa04a1659ceb..f56ff76e0167 100644
--- a/devel/simgear/pkg-plist
+++ b/devel/simgear/pkg-plist
@@ -62,6 +62,9 @@ include/simgear/sky/oursun.hxx
include/simgear/sky/sky.hxx
include/simgear/sky/sphere.hxx
include/simgear/sky/stars.hxx
+include/simgear/threads/SGGuard.hxx
+include/simgear/threads/SGQueue.hxx
+include/simgear/threads/SGThread.hxx
include/simgear/timing/geocoord.h
include/simgear/timing/lowleveltime.h
include/simgear/timing/sg_time.hxx
@@ -83,12 +86,14 @@ lib/libsgroute.a
lib/libsgscreen.a
lib/libsgserial.a
lib/libsgsky.a
+lib/libsgthreads.a
lib/libsgtiming.a
lib/libsgxgl.a
lib/libsgxml.a
@dirrm include/simgear/xml
@dirrm include/simgear/xgl
@dirrm include/simgear/timing
+@dirrm include/simgear/threads
@dirrm include/simgear/sky/clouds3d
@dirrm include/simgear/sky
@dirrm include/simgear/serial