diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-03-03 20:26:50 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-03-03 20:26:50 +0000 |
commit | deef1edf2e8f63f59ebdaa6c0ecfaa7a4709cfa6 (patch) | |
tree | 3d6fa906569078376a3eed3c2c173e15cbda10c3 /games/flightgear-data | |
parent | 5d90ba6cc76e11d47c29342531d6f35d0f28251d (diff) | |
download | ports-deef1edf2e8f63f59ebdaa6c0ecfaa7a4709cfa6.tar.gz ports-deef1edf2e8f63f59ebdaa6c0ecfaa7a4709cfa6.zip |
Notes
Diffstat (limited to 'games/flightgear-data')
-rw-r--r-- | games/flightgear-data/Makefile | 7 | ||||
-rw-r--r-- | games/flightgear-data/files/patch-aa | 28 |
2 files changed, 32 insertions, 3 deletions
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile index c6decf353209..141ccaf8ecf0 100644 --- a/games/flightgear-data/Makefile +++ b/games/flightgear-data/Makefile @@ -7,7 +7,7 @@ PORTNAME= FlightGear PORTVERSION= 0.9.1 -PORTREVISION= 2 +PORTREVISION= 3 BASEVERSION= 0.9.1a CATEGORIES= games MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Source/ \ @@ -20,18 +20,21 @@ MAINTAINER= des@FreeBSD.org BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libmk4.a:${PORTSDIR}/databases/metakit \ + ${X11BASE}/include/simgear/threads/SGThread.hxx:${PORTSDIR}/devel/simgear \ ${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear RUN_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libmk4.a:${PORTSDIR}/databases/metakit \ + ${X11BASE}/include/simgear/threads/SGThread.hxx:${PORTSDIR}/devel/simgear \ ${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear USE_X_PREFIX= yes GNU_CONFIGURE= yes # Force configure to look in /usr/local/{include,lib} -CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" \ +CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-threads MAN1= est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1 diff --git a/games/flightgear-data/files/patch-aa b/games/flightgear-data/files/patch-aa index e799be858059..1a304ab52cb7 100644 --- a/games/flightgear-data/files/patch-aa +++ b/games/flightgear-data/files/patch-aa @@ -1,5 +1,5 @@ --- configure.orig Thu Dec 5 16:31:39 2002 -+++ configure Wed Jan 22 11:11:26 2003 ++++ configure Mon Mar 3 13:00:03 2003 @@ -4206,6 +4206,7 @@ if test -r /usr/include/soundcard.h \ -o -r /usr/include/linux/soundcard.h \ @@ -8,3 +8,29 @@ -o -r /usr/include/audio.h \ -o "x$ac_cv_header_windows_h" = "xyes" \ -o "$HOSTTYPE" = "macintosh"; then +@@ -5385,13 +5386,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" +@@ -5439,7 +5440,7 @@ + #define HAVE_LIBPTHREAD 1 + _ACEOF + +- LIBS="-lpthread $LIBS" ++ LIBS="-pthread $LIBS" + + fi + |