diff options
author | rillig <rillig> | 2008-01-06 18:58:50 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-01-06 18:58:50 +0000 |
commit | bf12d6aa33bdb62feefe9ee6523615418d693ad6 (patch) | |
tree | bde2264e43351b46cfbadea3f1c921af6c7206fd /comms | |
parent | f959711cfe605246234d57551cdc29dce04fc024 (diff) | |
download | pkgsrc-bf12d6aa33bdb62feefe9ee6523615418d693ad6.tar.gz |
Without kernel sources, this package cannot be built.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/zaptel-netbsd/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/comms/zaptel-netbsd/Makefile b/comms/zaptel-netbsd/Makefile index 7dd576ff3b4..7060d9f56e4 100644 --- a/comms/zaptel-netbsd/Makefile +++ b/comms/zaptel-netbsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/02/05 23:08:28 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2008/01/06 18:58:50 rillig Exp $ # DISTNAME= zaptel-netbsd-20060127 @@ -17,10 +17,17 @@ INSTALLATION_DIRS= lkm ZAPTEL_KERNEL_ENV?= # empty BUILD_DEFS+= ZAPTEL_KERNEL_ENV MAKE_ENV+= ZAPTEL_KERNEL_ENV=${ZAPTEL_KERNEL_ENV:Q} +MAKE_ENV+= BSDSRCDIR=${BSDSRCDIR} CONF_FILES= ${PREFIX}/share/examples/zaptel/zaptel.conf \ ${PKG_SYSCONFDIR}/zaptel.conf RCD_SCRIPTS= ztcfg +.include "../../mk/bsd.prefs.mk" + +.if !exists(${BSDSRCDIR}/sys) +PKG_FAIL_REASON+= "${PKGNAME} needs kernel sources in ${BSDSRCDIR}." +.endif + .include "../../devel/newt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |