aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-06-06 19:53:56 +0800
committermarkus <markus@FreeBSD.org>2004-06-06 19:53:56 +0800
commit6bcc293162ec080760681a0efb1fa6746cf6fc0b (patch)
treefa7408141330f54eee361fd8e90f878dca66f53f
parent94a286c61446ee03d23e5bb159d50f1a45c4e85e (diff)
downloadfreebsd-ports-gnome-6bcc293162ec080760681a0efb1fa6746cf6fc0b.tar.gz
freebsd-ports-gnome-6bcc293162ec080760681a0efb1fa6746cf6fc0b.tar.zst
freebsd-ports-gnome-6bcc293162ec080760681a0efb1fa6746cf6fc0b.zip
- Don't use Makefile.kde anymore
- Respect CFLAGS
-rw-r--r--sysutils/krename-kde4/Makefile9
-rw-r--r--sysutils/krename/Makefile9
2 files changed, 12 insertions, 6 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>
diff --git a/sysutils/krename/Makefile b/sysutils/krename/Makefile
index 20d806b20916..e2c2414eb95e 100644
--- a/sysutils/krename/Makefile
+++ b/sysutils/krename/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>