diff options
Diffstat (limited to 'pkgtools/libkver')
-rw-r--r-- | pkgtools/libkver/Makefile | 6 | ||||
-rw-r--r-- | pkgtools/libkver/PLIST | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile index 3a4bb6522bc..b0ed8471516 100644 --- a/pkgtools/libkver/Makefile +++ b/pkgtools/libkver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/07/26 12:24:52 joerg Exp $ +# $NetBSD: Makefile,v 1.28 2008/04/12 22:43:09 jlam Exp $ DISTNAME= libkver-${VERSION} CATEGORIES= pkgtools @@ -26,13 +26,13 @@ ONLY_FOR_PLATFORM= NetBSD-*-* BUILDLINK_PASSTHRU_DIRS= ${BSDSRCDIR}/sys +PLIST_VARS= sysctl LDD_SYSCTL!= ldd /sbin/sysctl 2>&1 || ${TRUE} MAKE_ENV+= LDD_SYSCTL=${LDD_SYSCTL:Q} # save another ldd run .if empty(LDD_SYSCTL:M*libc*) -PLIST_SUBST+= HAS_SYSCTL= +PLIST.sysctl= yes FILES_SUBST+= HAS_SYSCTL=true .else -PLIST_SUBST+= HAS_SYSCTL="@comment " FILES_SUBST+= HAS_SYSCTL=false .endif diff --git a/pkgtools/libkver/PLIST b/pkgtools/libkver/PLIST index 1303710dbb6..56ed050cf42 100644 --- a/pkgtools/libkver/PLIST +++ b/pkgtools/libkver/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2003/12/13 17:45:59 seb Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:09 jlam Exp $ lib/libkver.a lib/libkver.so lib/libkver.so.1 lib/libkver.so.1.0 man/cat3/kver.0 man/man3/kver.3 -${HAS_SYSCTL}sbin/sysctl +${PLIST.sysctl}sbin/sysctl |