aboutsummaryrefslogtreecommitdiff
path: root/net/ng_daphne/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-06-19 07:11:59 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-06-19 07:11:59 +0000
commit7f3f989b91fd9c96f5ee45e8afddb8d7cd367b05 (patch)
tree117327ad46797bea56a78c8c779d55a8f978e7e6 /net/ng_daphne/Makefile
parent5e6a312f4f6fe3170faba61c41cb0205d9bc316e (diff)
downloadports-7f3f989b91fd9c96f5ee45e8afddb8d7cd367b05.tar.gz
ports-7f3f989b91fd9c96f5ee45e8afddb8d7cd367b05.zip
Notes
Diffstat (limited to 'net/ng_daphne/Makefile')
-rw-r--r--net/ng_daphne/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/ng_daphne/Makefile b/net/ng_daphne/Makefile
index 3e901d8904a2..a759d660aa77 100644
--- a/net/ng_daphne/Makefile
+++ b/net/ng_daphne/Makefile
@@ -15,8 +15,6 @@ COMMENT= A simple netgraph module for multihop ad hoc networks
.include <bsd.port.pre.mk>
-BROKEN= "Does not compile"
-
.if !exists(/usr/src/sys/netgraph/netgraph.h)
IGNORE= "Requires kernel source /usr/src/sys to build"
.endif
@@ -25,6 +23,13 @@ IGNORE= "Requires kernel source /usr/src/sys to build"
IGNORE= "Requires new netgraph architecture ng_item to build"
.endif
+.if ${OSVERSION} > 502010
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-ng_daphne.c
+.endif
+
+PLIST_FILES= lib/ng_daphne.ko %%DOCSDIR%%/README
+PLIST_DIRS= %%DOCSDIR%%
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ng_daphne.ko ${PREFIX}/lib
@${MKDIR} ${DOCSDIR}