summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-02 20:43:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-02 20:43:22 +0000
commit812bdd2597ae0c92bea12e3119b6d0ed25a99cea (patch)
treed3a7ae619c0cec926acd859a7196c60bbd19b8bb /games
parentc52560c3fefd0fad514386e4b706c1a38ab78d72 (diff)
downloadfreebsd-ports-812bdd2597ae0c92bea12e3119b6d0ed25a99cea.zip
- Fix runtime on 5.3 systems.
Explicit -lc after -pthread seems to break libpthread, the game cores on startup. Avoid this by not explicitly linking -lc. I'm not sure why this is happening. PR: ports/73398 (with modification) Submitted by: Travis Poppe <tlp@LiquidX.org> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/stratagus/Makefile1
-rw-r--r--games/stratagus/files/patch-configure12
2 files changed, 13 insertions, 0 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 035f0d6dca62..48702f8ab59f 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stratagus
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/games/stratagus/files/patch-configure b/games/stratagus/files/patch-configure
new file mode 100644
index 000000000000..9f4328894777
--- /dev/null
+++ b/games/stratagus/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Fri Jul 2 03:46:35 2004
++++ configure Tue Nov 2 21:31:50 2004
+@@ -3229,9 +3229,6 @@
+ VIDEO_LIBS="$VIDEO_LIBS -lwsock32 -lws2_32 -lmingwex -lgmon"
+ fi
+ fi
+-if test "$ARCH" = "bsd"; then
+- VIDEO_LIBS="$VIDEO_LIBS -lc"
+-fi
+
+
+