diff options
author | imp <imp@FreeBSD.org> | 2005-02-25 04:34:41 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-25 04:34:41 +0000 |
commit | 8a04d33bc675f0adc2f71065382f2d91a3caddd3 (patch) | |
tree | 482f5e11d3744247f9a08ef2972fd417f377f390 /net/ng_daphne/Makefile | |
parent | 3be83d40cdfad1d08785c3b1db6fc9e4986405d8 (diff) | |
download | FreeBSD-ports-8a04d33bc675f0adc2f71065382f2d91a3caddd3.zip FreeBSD-ports-8a04d33bc675f0adc2f71065382f2d91a3caddd3.tar.gz |
Honor SYSDIR override
Ignore warnings when building the module
Pass portlint by adding () around absolute path like other kernel modules
Diffstat (limited to 'net/ng_daphne/Makefile')
-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 a759d66..b7aa665 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" |