pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openpam Need to allow leading underscore of O...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac4d7f19d892
branches:  trunk
changeset: 538101:ac4d7f19d892
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Jan 29 00:52:58 2008 +0000

description:
Need to allow leading underscore of OPENPAM_VERSION for old(?) version.

diffstat:

 security/openpam/builtin.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e12e0f5fe149 -r ac4d7f19d892 security/openpam/builtin.mk
--- a/security/openpam/builtin.mk       Mon Jan 28 23:08:35 2008 +0000
+++ b/security/openpam/builtin.mk       Tue Jan 29 00:52:58 2008 +0000
@@ -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 @@
     !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



Home | Main Index | Thread Index | Old Index