diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-08-05 10:43:56 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-08-05 10:43:56 +0000 |
commit | 64765ac91c4ba0bdf7542dde563f179251429aa8 (patch) | |
tree | 05d03cf1baeb1936dc06f8b1d7194c4e4a31c850 /net | |
parent | Correct the ranges for the IPSec advisory and the devfs advisory. (diff) |
Fix package build.
Approved by: portmgr (implicit)
Notes
Notes:
svn path=/head/; revision=140782
Diffstat (limited to 'net')
-rw-r--r-- | net/lam7/Makefile | 5 | ||||
-rw-r--r-- | net/lam7/files/patch-tools-mpiexec-mpiexec | 16 |
2 files changed, 5 insertions, 16 deletions
diff --git a/net/lam7/Makefile b/net/lam7/Makefile index 0f37cd78cb65..c4d4804fbec4 100644 --- a/net/lam7/Makefile +++ b/net/lam7/Makefile @@ -17,6 +17,7 @@ COMMENT= Local Area Multicomputer MPI implementation USE_BZIP2= yes USE_PERL5= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-rsh=ssh @@ -24,6 +25,10 @@ CONFLICTS= lam-6.* .include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL} -w| ; \ + s|use warnings;||' ${WRKSRC}/tools/mpiexec/mpiexec + .if ${PERL_LEVEL} < 500800 BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp diff --git a/net/lam7/files/patch-tools-mpiexec-mpiexec b/net/lam7/files/patch-tools-mpiexec-mpiexec deleted file mode 100644 index 930c740acfe5..000000000000 --- a/net/lam7/files/patch-tools-mpiexec-mpiexec +++ /dev/null @@ -1,16 +0,0 @@ ---- tools/mpiexec/mpiexec.orig Sun Apr 25 23:41:00 2004 -+++ tools/mpiexec/mpiexec Tue May 25 19:11:44 2004 -@@ -1,4 +1,4 @@ --#!/usr/bin/env perl -+#!/usr/bin/env perl -w - - # Copyright (c) 2001-2003 The Trustees of Indiana University. - # All rights reserved. -@@ -17,7 +17,6 @@ - # - - use strict; --use warnings; - use File::Temp qw(tempfile tempdir); - use Data::Dumper; - use POSIX; |