diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-12-17 17:19:48 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-12-17 17:19:48 +0000 |
commit | 7c47779cb9cc1f12908949c26b831e944047ed17 (patch) | |
tree | cc6e929ebf67eee2cc8ce1692ea0663387b3a559 /math/p5-NetCDF | |
parent | b4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff) | |
download | ports-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz ports-7c47779cb9cc1f12908949c26b831e944047ed17.zip |
Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.
While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.
PR: 205367
With hat: portmgr
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=403913
Diffstat (limited to 'math/p5-NetCDF')
-rw-r--r-- | math/p5-NetCDF/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile index c9d8f7d2459d..00f90a75b82b 100644 --- a/math/p5-NetCDF/Makefile +++ b/math/p5-NetCDF/Makefile @@ -3,7 +3,7 @@ PORTNAME= NetCDF PORTVERSION= 1.2.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math perl5 MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/ PKGNAMEPREFIX= p5- @@ -19,7 +19,7 @@ USES= perl5 fakeroot WRKSRC_SUBDIR= src GNU_CONFIGURE= yes CONFIGURE_ENV= CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \ - PERL_MANDIR=${STAGEDIR}${SITE_PERL}/man PERL=${PERL5} + PERL_MANDIR=${STAGEDIR}${SITE_PERL}/man PERL=${PERL} pre-install: @${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/perl/Makefile |