aboutsummaryrefslogtreecommitdiffstats
path: root/games/kslide/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-22 06:23:08 +0800
committerlofi <lofi@FreeBSD.org>2004-05-22 06:23:08 +0800
commitd1252614215048e822b94df6cd1e90a8767f993e (patch)
tree22bd2f5189af01a1fe3bdbd91ee107fd761f6d72 /games/kslide/Makefile
parent695e0248a64772c504f0bbe819b884fc235f7ebc (diff)
downloadfreebsd-ports-gnome-d1252614215048e822b94df6cd1e90a8767f993e.tar.gz
freebsd-ports-gnome-d1252614215048e822b94df6cd1e90a8767f993e.tar.zst
freebsd-ports-gnome-d1252614215048e822b94df6cd1e90a8767f993e.zip
Remove inclusion of "${PORTSDIR}/x11/kde3/Makefile.kde", fix PTHREAD_LIBS
safeness, fix compilation where needed. Committers: Please do NOT include Makefile.kde or commit new ports which do so. It's for use with the core KDE ports maintained by kde@freebsd.org ONLY.
Diffstat (limited to 'games/kslide/Makefile')
-rw-r--r--games/kslide/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/kslide/Makefile b/games/kslide/Makefile
index 11fb8f08ed60..7f34f1a6a83a 100644
--- a/games/kslide/Makefile
+++ b/games/kslide/Makefile
@@ -18,7 +18,10 @@ COMMENT= KDE puzzle game
USE_BZIP2= yes
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|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>