blob: 0c6f09f2b11e4882dbaf0fec4bff412154491ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.16 2011/12/13 15:57:08 spz Exp $
DISTNAME= openpam-20071221
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
PKGREVISION= 1
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.openpam.org/
COMMENT= Open-source PAM library
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= PAM-[0-9]*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --without-pam-su
CONFIGURE_ARGS+= --with-pam-unix
CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/lib/security
OWN_DIRS= ${PKG_SYSCONFDIR}/pam.d
.include "../../mk/dlopen.buildlink3.mk"
# Create a fake perl binary to avoid recreating the man pages.
post-tools:
${RM} -f ${TOOLS_DIR}/bin/perl
${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin/perl
${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin/perl
${CHMOD} +x ${TOOLS_DIR}/bin/perl
.include "../../mk/bsd.pkg.mk"
|