File:
[cvs.NetBSD.org] /
pkgsrc /
security /
pam-mkhomedir /
Makefile
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Thu Apr 9 00:48:15 2009 UTC (15 years, 8 months ago) by
joerg
Branches:
MAIN
CVS tags:
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
HEAD
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.
# $NetBSD: Makefile,v 1.3 2009/04/09 00:48:15 joerg Exp $
DISTNAME= pam-mkhomedir-1
CATEGORIES= security
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= tonnerre@NetBSD.org
COMMENT= Pluggable authentication module for automatic homedir creation
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= lib/security
LDLIBS= -lpam
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}
do-extract:
${CP} ${FILESDIR}/pam_mkhomedir.c ${WRKSRC}
do-build:
cd ${WRKSRC} && ${SHLIBTOOL} --mode=compile ${CC} ${CFLAGS} \
-c pam_mkhomedir.c
cd ${WRKSRC} && ${SHLIBTOOL} --mode=link ${CC} ${LDFLAGS} \
-avoid-version -module ${LDLIBS} -o pam_mkhomedir.la \
-rpath ${PREFIX}/lib/security pam_mkhomedir.lo
do-install:
${SHLIBTOOL} --mode=install ${INSTALL_PROGRAM} -c \
${WRKSRC}/pam_mkhomedir.la ${DESTDIR}${PREFIX}/lib/security
# Fix (workaround?) a bug with openpam/NetBSD
# The bug is described in PR security/39313.
#
.include "../../mk/bsd.prefs.mk"
#
.if ${OPSYS} == "NetBSD"
CFLAGS+= -DNO_STATIC_MODULES
.endif
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>