diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-02-25 04:34:41 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-02-25 04:34:41 +0000 |
commit | 23c85f5d0be0d9c715960ef22f0c915d9b04779f (patch) | |
tree | e590064438bde86c9ab1f134c9bb979a44772e76 /net/ng_daphne | |
parent | de35210005f70a521adc51066d4d525e1619aee8 (diff) | |
download | ports-23c85f5d0be0d9c715960ef22f0c915d9b04779f.tar.gz ports-23c85f5d0be0d9c715960ef22f0c915d9b04779f.zip |
Notes
Diffstat (limited to 'net/ng_daphne')
-rw-r--r-- | net/ng_daphne/Makefile | 6 |
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" |