Remove leading underscore from OPENPAM_VERSION for BUILTIN_VERSION.openpam,

as openpam "Hydrangea" now defines OPENPAM_VERSION.  This caused the
version inquiry to fail.
This commit is contained in:
bjs 2008-01-28 01:15:26 +00:00
parent 9d8f67ca5b
commit a7c1b4774c

View file

@ -1,4 +1,4 @@
# $NetBSD: builtin.mk,v 1.6 2006/04/06 06:22:43 reed Exp $
# $NetBSD: builtin.mk,v 1.7 2008/01/28 01:15:26 bjs Exp $
BUILTIN_PKG:= openpam
@ -27,7 +27,7 @@ MAKEVARS+= IS_BUILTIN.openpam
!empty(IS_BUILTIN.openpam:M[yY][eE][sS]) && \
empty(H_OPENPAM:M__nonexistent__)
BUILTIN_VERSION.openpam!= \
${AWK} '/\#define[ ]*_OPENPAM_VERSION[ ]/ {print $$3; }' \
${AWK} '/\#define[ ]*OPENPAM_VERSION[ ]/ {print $$3; }' \
${H_OPENPAM}
BUILTIN_PKG.openpam= openpam-${BUILTIN_VERSION.openpam}
.endif