summaryrefslogtreecommitdiff
path: root/security/openpam
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-01-29 00:52:58 +0000
committerobache <obache@pkgsrc.org>2008-01-29 00:52:58 +0000
commitf3bc31c6d2bc5df6163f23085e16b93057a037e7 (patch)
treeec4ac463355b90dd9a541f1e7ac38fa953c7a4aa /security/openpam
parente9e8c00a1f8044d4a446c4c5c5bf6ca7dd4a2a2f (diff)
downloadpkgsrc-f3bc31c6d2bc5df6163f23085e16b93057a037e7.tar.gz
Need to allow leading underscore of OPENPAM_VERSION for old(?) version.
Diffstat (limited to 'security/openpam')
-rw-r--r--security/openpam/builtin.mk4
1 files changed, 2 insertions, 2 deletions
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