aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-01-27 17:01:37 +0800
committerrene <rene@FreeBSD.org>2012-01-27 17:01:37 +0800
commit7dd30c98dfe0ea38d5c3d4fcbb741766ee093a3f (patch)
treea92798dd8f004a747e796e81dbe3722a38f22776 /sysutils
parentbf1c8e016a4f30d31bde64a4f406c2db0d476e81 (diff)
downloadfreebsd-ports-gnome-7dd30c98dfe0ea38d5c3d4fcbb741766ee093a3f.tar.gz
freebsd-ports-gnome-7dd30c98dfe0ea38d5c3d4fcbb741766ee093a3f.tar.zst
freebsd-ports-gnome-7dd30c98dfe0ea38d5c3d4fcbb741766ee093a3f.zip
Fix build on 10.0
PR: ports/163867 Submitted by: myself Approved by: maintainer
Diffstat (limited to 'sysutils')
-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>