From f3bc31c6d2bc5df6163f23085e16b93057a037e7 Mon Sep 17 00:00:00 2001 From: obache Date: Tue, 29 Jan 2008 00:52:58 +0000 Subject: Need to allow leading underscore of OPENPAM_VERSION for old(?) version. --- security/openpam/builtin.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/openpam') diff --git a/security/openpam/builtin.mk b/security/openpam/builtin.mk index 9d6bf01e711..61f46eeb1f4 100644 --- a/security/openpam/builtin.mk +++ b/security/openpam/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.7 2008/01/28 01:15:26 bjs Exp $ +# $NetBSD: builtin.mk,v 1.8 2008/01/29 00:52:58 obache 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 -- cgit v1.2.3