diff options
author | lofi <lofi@FreeBSD.org> | 2004-05-23 08:08:43 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-05-23 08:08:43 +0800 |
commit | 955fea250e6f70af0a7ba56ea9db1a3e91be7d73 (patch) | |
tree | 99915c7f1e7a15a5236b9dad3d928d1df0390339 /games/spacehulk | |
parent | 25027d286e7d9cf40225d415a327ce27ea0057ed (diff) | |
download | freebsd-ports-gnome-955fea250e6f70af0a7ba56ea9db1a3e91be7d73.tar.gz freebsd-ports-gnome-955fea250e6f70af0a7ba56ea9db1a3e91be7d73.tar.zst freebsd-ports-gnome-955fea250e6f70af0a7ba56ea9db1a3e91be7d73.zip |
Remove inclusion of "${PORTSDIR}/x11/kde3/Makefile.kde", fix PTHREAD_LIBS
safeness.
Diffstat (limited to 'games/spacehulk')
-rw-r--r-- | games/spacehulk/Makefile | 9 | ||||
-rw-r--r-- | games/spacehulk/files/patch-src_Makefile.in | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/games/spacehulk/Makefile b/games/spacehulk/Makefile index 718d350b77a1..b162b2845dae 100644 --- a/games/spacehulk/Makefile +++ b/games/spacehulk/Makefile @@ -17,7 +17,10 @@ COMMENT= Science-fiction board game in the world of Warhammer 40000 GNU_CONFIGURE= yes USE_GMAKE= yes USE_KDELIBS_VER=3 +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|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} + +.include <bsd.port.mk> diff --git a/games/spacehulk/files/patch-src_Makefile.in b/games/spacehulk/files/patch-src_Makefile.in new file mode 100644 index 000000000000..298d7043de22 --- /dev/null +++ b/games/spacehulk/files/patch-src_Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Sun May 23 01:55:27 2004 ++++ src/Makefile.in Sun May 23 01:56:42 2004 +@@ -259,7 +259,7 @@ + INCLUDES = $(all_includes) -Wall -DQT_THREAD_SUPPORT -DDATA_DIR=\"$(pkgdatadir)\" + + #qspacehulk_LDADD = $(LIB_QPE) $(LIB_QT) $(LIBSOCKET) -lqt-mt +-qspacehulk_LDADD = -lqt-mt ++qspacehulk_LDADD = -lqt-mt $(LIBPTHREAD) + #qspacehulk_METASOURCES = AUTO + + # the library search path. |