diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-17 16:55:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-17 16:55:21 +0000 |
commit | 2317e099e96700ec59894164d37f371465ec60aa (patch) | |
tree | cff54679feefe8146d4f3825f3f1a698c6702eb8 /security | |
parent | 3057a5eebb3d34e9c7ede67d29c13503a8ea2277 (diff) | |
download | pkgsrc-2317e099e96700ec59894164d37f371465ec60aa.tar.gz |
OpenPAM doesn't really need perl during the build... it's only there
to regenerate some documentation files, but the regen is unnecessary.
Fix the post-tools target that created a dummy perl -- it was failing
because ${TRUE} may not be an actual executable (it could be a shell
builtin) and thus symlinking to it may not work.
Diffstat (limited to 'security')
-rw-r--r-- | security/openpam/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/security/openpam/Makefile b/security/openpam/Makefile index 6ba7307a83f..27815a8c79b 100644 --- a/security/openpam/Makefile +++ b/security/openpam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/01/17 16:14:23 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2005/01/17 16:55:21 jlam Exp $ DISTNAME= openpam-20040210 CATEGORIES= security @@ -12,7 +12,6 @@ CONFLICTS+= PAM-[0-9]* USE_BUILDLINK3= yes USE_LIBTOOL= yes -USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --without-pam-su @@ -24,7 +23,9 @@ CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/lib/security # Create a fake perl binary to avoid recreating the man pages. post-tools: ${RM} -f ${TOOLS_DIR}/bin/perl - ${LN} -sf ${TRUE} ${TOOLS_DIR}/bin/perl + ${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin/perl + ${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin/perl + ${CHMOD} +x ${TOOLS_DIR}/bin/perl # Remove a directory that's created for the sample su application that # we don't install. |