pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/PAM BUILDLINK_TRANSFORM is not enough to buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ac4b21f0e2a
branches:  trunk
changeset: 487266:1ac4b21f0e2a
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Jan 12 02:27:48 2005 +0000

description:
BUILDLINK_TRANSFORM is not enough to buildlink the files when using
OpenPAM (NetBSD/FreeBSD), so use BUILDLINK_FILES to right directory.

diffstat:

 security/PAM/builtin.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r cdc52d06d142 -r 1ac4b21f0e2a security/PAM/builtin.mk
--- a/security/PAM/builtin.mk   Wed Jan 12 01:50:15 2005 +0000
+++ b/security/PAM/builtin.mk   Wed Jan 12 02:27:48 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.8 2004/08/19 20:21:56 jlam Exp $
+# $NetBSD: builtin.mk,v 1.9 2005/01/12 02:27:48 xtraeme Exp $
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -27,8 +27,12 @@
 .if !empty(CHECK_BUILTIN.pam:M[nN][oO])
 
 .if !empty(USE_BUILTIN.pam:M[yY][eE][sS])
+.  if exists(${_SECURITY_PAM_APPL_H})
 BUILDLINK_TRANSFORM.pam+=      -e "s|/include/pam/|/include/security/|"
+BUILDLINK_FILES.pam+=          include/security/*.h
+.  else
 BUILDLINK_FILES.pam+=          include/pam/*.h
+.  endif
 .endif
 
 .endif # CHECK_BUILTIN.pam



Home | Main Index | Thread Index | Old Index