summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>