diff options
Diffstat (limited to 'sysutils/krename-kde4')
-rw-r--r-- | sysutils/krename-kde4/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/krename-kde4/Makefile b/sysutils/krename-kde4/Makefile index 20d806b20916..e2c2414eb95e 100644 --- a/sysutils/krename-kde4/Makefile +++ b/sysutils/krename-kde4/Makefile @@ -18,7 +18,10 @@ COMMENT= Very powerful batch file renamer for KDE3 USE_BZIP2= yes USE_KDELIBS_VER=3 GNU_CONFIGURE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/x11/kde3/Makefile.kde" -.include <bsd.port.post.mk> +.include <bsd.port.mk> |