aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-03 04:43:22 +0800
committerpav <pav@FreeBSD.org>2004-11-03 04:43:22 +0800
commit9ed791e54640c2d42a592421cdde488ee3803bed (patch)
tree84e512c8667ecf4859663231c66225277901da23
parent440c9042928d23b3c5d78bbada689294eb7827e5 (diff)
downloadfreebsd-ports-gnome-9ed791e54640c2d42a592421cdde488ee3803bed.tar.gz
freebsd-ports-gnome-9ed791e54640c2d42a592421cdde488ee3803bed.tar.zst
freebsd-ports-gnome-9ed791e54640c2d42a592421cdde488ee3803bed.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)
-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
+
+
+