aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pwg
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-05-21 22:23:08 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-05-21 22:23:08 +0000
commit258a678bdeccb425a20f68feb0aa7b03381497a3 (patch)
treeafce4682b9fbe23dad8220014989e00bec7fb1f7 /sysutils/pwg
parent7b44b2617561836d25048e72850e1ee3a2a89cae (diff)
downloadports-258a678bdeccb425a20f68feb0aa7b03381497a3.tar.gz
ports-258a678bdeccb425a20f68feb0aa7b03381497a3.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.
Notes
Notes: svn path=/head/; revision=109667
Diffstat (limited to 'sysutils/pwg')
-rw-r--r--sysutils/pwg/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/pwg/Makefile b/sysutils/pwg/Makefile
index a0d3d3f29884..5c0b9ba6f1d4 100644
--- a/sysutils/pwg/Makefile
+++ b/sysutils/pwg/Makefile
@@ -19,7 +19,10 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
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>