diff options
author | cube <cube@pkgsrc.org> | 2005-03-24 22:39:07 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2005-03-24 22:39:07 +0000 |
commit | 7178546f4f965f3dd7f04f8e48666f6d7c0b383f (patch) | |
tree | d0fbc0e4161011eb54d75258307404a2c8c65071 /net/netbsd-tap/Makefile | |
parent | 65527676f62c14decbbf8bdf59bd7b77a1a6adfa (diff) | |
download | pkgsrc-7178546f4f965f3dd7f04f8e48666f6d7c0b383f.tar.gz |
Pick up revision 1.3 and 1.7 from src:
o s/PF_LINK/AF_LINK/ because that way it makes sense.
o Set bit 0x2 of the first byte of the generated MAC address, to indicate
it is a locally administered address. Pointed out by Ignatios
Souvatzis.
While I'm here, add a blob to explain how to properly setup pkgsrc to have
it build NetBSD LKMs, as several people complained about the lack of
documentation of things such as NETBSDSRCDIR and PKGMAKECONF.
Bump version.
Diffstat (limited to 'net/netbsd-tap/Makefile')
-rw-r--r-- | net/netbsd-tap/Makefile | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/net/netbsd-tap/Makefile b/net/netbsd-tap/Makefile index 042462b116c..3fc1959a166 100644 --- a/net/netbsd-tap/Makefile +++ b/net/netbsd-tap/Makefile @@ -1,6 +1,28 @@ -# $NetBSD: Makefile,v 1.3 2005/02/20 21:50:57 cube Exp $ - -DISTNAME= netbsd-tap-20050220 +# $NetBSD: Makefile,v 1.4 2005/03/24 22:39:07 cube Exp $ + +# This package relies on a correct configuration of pkgsrc WRT NetBSD +# source directory information, otherwise the build will fail in a non- +# obvious way. +# +# If /usr/src doesn't point to your NetBSD source tree, then you should +# (generally speaking, it covers more than pkgsrc) define the variable +# named NETBSDSRCDIR to the place where that NetBSD source tree is. +# +# Setting NETBSDSRCDIR in mk.conf will do the right thing when, for +# example, you compile a LKM by hand. However, it will not be +# sufficient in pkgsrc, as the Makefiles of the packages are called +# with MAKECONF=/dev/null in the environment by default, and therefore +# won't pick up the value for NETBSDSRCDIR. +# +# So additionally you will have to define PKGMAKECONF in mk.conf, and +# make it point to a mk.conf-like file that will contain your wished +# NETBSDSRCDIR, COPTS, CPUFLAGS and friends value. +# +# It is perfectly acceptable to set PKGMAKECONF to /etc/mk.conf, but be +# aware that it can lead to some confusion of pkgsrc, which is why +# MAKECONF was set to /dev/null in the first place. + +DISTNAME= netbsd-tap-20050324 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty |