summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2012-01-27 09:01:37 +0000
committerRene Ladan <rene@FreeBSD.org>2012-01-27 09:01:37 +0000
commitbed3af9c5949d17d342c691f5e5c87ff902866d7 (patch)
treea96b76c2bda1fb6722d1265a3bde7c1c0cc0303f
parent- Enable multiprofile fcgiwrap rc script modeled over the nginx rc script (diff)
Fix build on 10.0
PR: ports/163867 Submitted by: myself Approved by: maintainer
Notes
Notes: svn path=/head/; revision=289867
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index ac525df5055c..1a991d3091ac 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -38,5 +38,9 @@ PLIST_SUB+= NLS="@comment "
do-patch:
@${REINPLACE_CMD} -e 's|# include <net/if_ppp.h>||' \
${WRKSRC}/panel-plugin/os.h
+ @${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \
+ ${WRKSRC}/panel-plugin/net.c \
+ ${WRKSRC}/panel-plugin/net.h \
+ ${WRKSRC}/panel-plugin/os.h
.include <bsd.port.post.mk>