summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-06-25 08:22:01 +0000
committerwiz <wiz@pkgsrc.org>2018-06-25 08:22:01 +0000
commit9030e8604bd2d91e0d4a2ed6cd77fff8406c1989 (patch)
tree470550d3a3e9088b0a29cbb92ef057e1618833d2 /security
parent3602380681233eca1aa69dace8b15c81830438d9 (diff)
downloadpkgsrc-9030e8604bd2d91e0d4a2ed6cd77fff8406c1989.tar.gz
pam-pwauth_suid: update to 1.2nb1.
Use LDFLAGS when linking. Use CC instead of LD since LDFLAGS for relro are prefixed with "-Wl,". Cleanup some pkglint.
Diffstat (limited to 'security')
-rw-r--r--security/pam-pwauth_suid/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/pam-pwauth_suid/Makefile b/security/pam-pwauth_suid/Makefile
index ff85ec78217..b4f414c8e95 100644
--- a/security/pam-pwauth_suid/Makefile
+++ b/security/pam-pwauth_suid/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2012/10/23 18:16:48 asau Exp $
+# $NetBSD: Makefile,v 1.8 2018/06/25 08:22:01 wiz Exp $
DISTNAME= pam-pwauth_suid-1.2
+PKGREVISION= 1
CATEGORIES= security
DISTFILES= # empty
@@ -21,14 +22,12 @@ do-extract:
do-build:
(cd ${WRKSRC} && \
${CC} ${CFLAGS} -c -fPIC ${PAMDEF} pam_pwauth_suid.c && \
- ${LD} -shared pam_pwauth_suid.o -o pam_pwauth_suid.so && \
- ${CC} ${CFLAGS} pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
+ ${CC} ${LDFLAGS} -shared pam_pwauth_suid.o -o pam_pwauth_suid.so && \
+ ${CC} ${CFLAGS} ${LDFLAGS} pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/security
${INSTALL_DATA} ${WRKSRC}/pam_pwauth_suid.so \
${DESTDIR}${PREFIX}/lib/security
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/pwauth_suid_helper \
${DESTDIR}${PREFIX}/libexec
${CHMOD} 04555 ${DESTDIR}${PREFIX}/libexec/pwauth_suid_helper