1 # $NetBSD: Makefile,v 1.17 2012/10/03 21:57:25 wiz Exp $
3 DISTNAME
= openpam-20071221
6 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=openpam
/}
8 MAINTAINER
= joerg@NetBSD.org
9 HOMEPAGE
= http
://www.openpam.org
/
10 COMMENT
= Open-source PAM library
13 CONFLICTS
+= PAM-
[0-9]*
17 CONFIGURE_ARGS
+= --sysconfdir
=${PKG_SYSCONFDIR
:Q
}
18 CONFIGURE_ARGS
+= --without-pam-su
19 CONFIGURE_ARGS
+= --with-pam-unix
20 CONFIGURE_ARGS
+= --with-modules-dir
=${PREFIX}/lib
/security
22 OWN_DIRS
= ${PKG_SYSCONFDIR}/pam.d
24 .
include "../../mk/dlopen.buildlink3.mk"
26 # Create a fake perl binary to avoid recreating the man pages.
28 ${RM} -f
${TOOLS_DIR}/bin
/perl
29 ${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin
/perl
30 ${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin
/perl
31 ${CHMOD} +x
${TOOLS_DIR}/bin
/perl
33 .
include "../../mk/bsd.pkg.mk"