summaryrefslogtreecommitdiff
path: root/security/pam-pwauth_suid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam-pwauth_suid/Makefile')
-rw-r--r--security/pam-pwauth_suid/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/pam-pwauth_suid/Makefile b/security/pam-pwauth_suid/Makefile
index 09daa287f87..82aac71fc73 100644
--- a/security/pam-pwauth_suid/Makefile
+++ b/security/pam-pwauth_suid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/08 18:39:44 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:31 joerg Exp $
DISTNAME= pam-pwauth_suid-1.0
CATEGORIES= security
@@ -11,6 +11,8 @@ NO_CHECKSUM= yes
WRKSRC= ${WRKDIR}
CFLAGS+= -DPATH_HELPER=\"${PREFIX}/libexec/pwauth_suid_helper\"
+INSTALLATION_DIRS= lib/security libexec
+
do-extract:
${CP} ${FILESDIR}/pam_pwauth_suid.c ${FILESDIR}/pwauth_suid_helper.c \
${WRKSRC}
@@ -21,7 +23,6 @@ do-build:
${CC} ${CFLAGS} pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/security
${INSTALL_DATA} ${WRKSRC}/pam_pwauth_suid.so.0 ${PREFIX}/lib/security
${INSTALL_PROGRAM} ${WRKSRC}/pwauth_suid_helper ${PREFIX}/libexec
${CHMOD} 04555 ${PREFIX}/libexec/pwauth_suid_helper