diff options
author | jlam <jlam> | 2005-01-17 16:55:21 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-17 16:55:21 +0000 |
commit | 1b617457a4e13d6b1c91d3e501ccafca90123584 (patch) | |
tree | cff54679feefe8146d4f3825f3f1a698c6702eb8 /security | |
parent | b962d1b57b8f4516d91c57cca012de5346c2eca5 (diff) | |
download | pkgsrc-1b617457a4e13d6b1c91d3e501ccafca90123584.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. |