aboutsummaryrefslogtreecommitdiffstats
path: root/devel/simgear
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-03 21:20:16 +0800
committerdes <des@FreeBSD.org>2003-03-03 21:20:16 +0800
commit3c2ef50e6359f7e73bd4572e1d02823198768e86 (patch)
tree492c88402f951e76cab8dc8f54ad229092c50644 /devel/simgear
parent8b34d933c68bb8cec20f4c14cfabbfb780a32b25 (diff)
downloadfreebsd-ports-graphics-3c2ef50e6359f7e73bd4572e1d02823198768e86.tar.gz
freebsd-ports-graphics-3c2ef50e6359f7e73bd4572e1d02823198768e86.tar.zst
freebsd-ports-graphics-3c2ef50e6359f7e73bd4572e1d02823198768e86.zip
Configure and build thread support.
Diffstat (limited to 'devel/simgear')
-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 99846adb262..92a0f0b073b 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 00000000000..7f552ed91c9
--- /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 fa04a1659ce..f56ff76e016 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