aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pwg
diff options
context:
space:
mode:
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>