aboutsummaryrefslogtreecommitdiff
path: root/net/ng_daphne/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-02-25 04:34:41 +0000
committerWarner Losh <imp@FreeBSD.org>2005-02-25 04:34:41 +0000
commit23c85f5d0be0d9c715960ef22f0c915d9b04779f (patch)
treee590064438bde86c9ab1f134c9bb979a44772e76 /net/ng_daphne/Makefile
parentde35210005f70a521adc51066d4d525e1619aee8 (diff)
downloadports-23c85f5d0be0d9c715960ef22f0c915d9b04779f.tar.gz
ports-23c85f5d0be0d9c715960ef22f0c915d9b04779f.zip
Honor SYSDIR override
Ignore warnings when building the module Pass portlint by adding () around absolute path like other kernel modules
Notes
Notes: svn path=/head/; revision=129722
Diffstat (limited to 'net/ng_daphne/Makefile')
-rw-r--r--net/ng_daphne/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ng_daphne/Makefile b/net/ng_daphne/Makefile
index a759d660aa77..b7aa665ac188 100644
--- a/net/ng_daphne/Makefile
+++ b/net/ng_daphne/Makefile
@@ -15,9 +15,11 @@ COMMENT= A simple netgraph module for multihop ad hoc networks
.include <bsd.port.pre.mk>
-.if !exists(/usr/src/sys/netgraph/netgraph.h)
-IGNORE= "Requires kernel source /usr/src/sys to build"
+SYSDIR?= ${SRC_BASE}/sys
+.if !exists(${SYSDIR}/netgraph/netgraph.h)
+IGNORE= "Requires kernel source (/usr/src/sys) to build"
.endif
+MAKE_ENV+= WERROR=
.if ${OSVERSION} < 500000
IGNORE= "Requires new netgraph architecture ng_item to build"