From 2707f5fc11c84cc76c1c4dc8e30e2c79fa979ab1 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 25 May 2004 10:07:53 +0000 Subject: Respect PTHREAD_LIBS. Fix a buildproblem on STABLE --- games/six/Makefile | 9 ++++++--- games/six/files/patch-sixplayer.cpp | 10 ++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 games/six/files/patch-sixplayer.cpp (limited to 'games/six') 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 -.include "${PORTSDIR}/x11/kde3/Makefile.kde" -.include +post-patch: + ${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure + + +.include 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 + #include + #include ++#include + + using std::endl; + -- cgit