summaryrefslogtreecommitdiff
path: root/net/netbsd-tap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netbsd-tap/Makefile')
-rw-r--r--net/netbsd-tap/Makefile28
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