summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-04-09 00:51:55 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-04-09 00:51:55 +0000
commitacdb9c559d31df94cdc1446122249240da525665 (patch)
tree4e6dae6e2d5ac130d7d69a16dd2081ba7a08248f /misc
parentifstat is a tool to report network interfaces bandwith just like (diff)
Fix build on CURRENT
Reported by: many Tested by: jeff@walters.name (Jeff Walters), seanc
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeutils3/Makefile10
-rw-r--r--misc/kdeutils4/Makefile10
2 files changed, 18 insertions, 2 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile
index 6667a23a3320..a2cdd777537f 100644
--- a/misc/kdeutils3/Makefile
+++ b/misc/kdeutils3/Makefile
@@ -23,6 +23,7 @@ KDE_BUILD_PLIST=yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
@@ -49,5 +50,12 @@ PLIST_APPEND+= plist.kfloppy
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500107
+post-patch:
+ ${REINPLACE_CMD} -e 's,selectdevs,devstat_selectdevs,' ${WRKSRC}/configure
+.endif
+
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile
index 6667a23a3320..a2cdd777537f 100644
--- a/misc/kdeutils4/Makefile
+++ b/misc/kdeutils4/Makefile
@@ -23,6 +23,7 @@ KDE_BUILD_PLIST=yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
@@ -49,5 +50,12 @@ PLIST_APPEND+= plist.kfloppy
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500107
+post-patch:
+ ${REINPLACE_CMD} -e 's,selectdevs,devstat_selectdevs,' ${WRKSRC}/configure
+.endif
+
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>