aboutsummaryrefslogtreecommitdiff
path: root/games/six
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-05-25 10:07:53 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-05-25 10:07:53 +0000
commitf012f33e71371348e8ca63130a3e2db6b0f5f12e (patch)
tree85ade0d5e0688146cffa9c31b289e03da9a7f0fe /games/six
parentc66bda311371bc79591c1c88abf543e312e896bc (diff)
downloadports-f012f33e71371348e8ca63130a3e2db6b0f5f12e.tar.gz
ports-f012f33e71371348e8ca63130a3e2db6b0f5f12e.zip
Notes
Diffstat (limited to 'games/six')
-rw-r--r--games/six/Makefile9
-rw-r--r--games/six/files/patch-sixplayer.cpp10
2 files changed, 16 insertions, 3 deletions
diff --git a/games/six/Makefile b/games/six/Makefile
index 0992982c4a75..b51164a3ff17 100644
--- a/games/six/Makefile
+++ b/games/six/Makefile
@@ -15,7 +15,10 @@ COMMENT= KDE HEX clone
USE_KDELIBS_VER= 3
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure
+
+
+.include <bsd.port.mk>
diff --git a/games/six/files/patch-sixplayer.cpp b/games/six/files/patch-sixplayer.cpp
new file mode 100644
index 000000000000..ac3374e56e95
--- /dev/null
+++ b/games/six/files/patch-sixplayer.cpp
@@ -0,0 +1,10 @@
+--- six/sixplayer.cpp.orig Tue May 25 11:58:16 2004
++++ six/sixplayer.cpp Tue May 25 11:58:33 2004
+@@ -5,6 +5,7 @@
+ #include <cassert>
+ #include <algorithm>
+ #include <cmath>
++#include <ctype.h>
+
+ using std::endl;
+