summaryrefslogtreecommitdiff
path: root/pkgtools/libkver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libkver/Makefile')
-rw-r--r--pkgtools/libkver/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile
index f234bc4d137..16a2747dbfd 100644
--- a/pkgtools/libkver/Makefile
+++ b/pkgtools/libkver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/20 13:56:25 seb Exp $
+# $NetBSD: Makefile,v 1.4 2003/07/20 15:37:46 seb Exp $
DISTNAME= libkver-${VERSION}
CATEGORIES= pkgtools
@@ -21,6 +21,12 @@ VERSION= 0.1
ONLY_FOR_PLATFORM= NetBSD-*-*
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(KVER_OSRELEASE)
+MAKE_ENV+= KVER_OSRELEASE=${KVER_OSRELEASE}
+.endif
+
do-extract:
@${CP} -Rp ${FILESDIR} ${WRKSRC}