pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/netcdf-fortran netcdf-fortran: Fix f90 PLIST. Wh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b339cfbfe527
branches:  trunk
changeset: 426096:b339cfbfe527
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 26 11:31:48 2020 +0000

description:
netcdf-fortran: Fix f90 PLIST. While here, silence some pkglint warnings.

Noted by Dr. Thomas Orgis

diffstat:

 devel/netcdf-fortran/Makefile   |  4 ++--
 devel/netcdf-fortran/PLIST      |  6 +++---
 devel/netcdf-fortran/options.mk |  8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r efb2f596df68 -r b339cfbfe527 devel/netcdf-fortran/Makefile
--- a/devel/netcdf-fortran/Makefile     Thu Mar 26 10:16:56 2020 +0000
+++ b/devel/netcdf-fortran/Makefile     Thu Mar 26 11:31:48 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/03/08 16:47:40 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/26 11:31:48 nia Exp $
 
 DISTNAME=      netcdf-fortran-4.2
 PKGREVISION=   17
@@ -7,7 +7,7 @@
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.unidata.ucar.edu/software/netcdf/index.html
-COMMENT=       Fortran support for NetCDF.
+COMMENT=       Fortran support for NetCDF
 
 USE_LANGUAGES=         c fortran77
 USE_LIBTOOL=           yes
diff -r efb2f596df68 -r b339cfbfe527 devel/netcdf-fortran/PLIST
--- a/devel/netcdf-fortran/PLIST        Thu Mar 26 10:16:56 2020 +0000
+++ b/devel/netcdf-fortran/PLIST        Thu Mar 26 11:31:48 2020 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/04/29 07:43:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/03/26 11:31:48 nia Exp $
 bin/nf-config
-${PLIST.f90}include/NETCDF.mod
-${PLIST.f90}include/TYPESIZES.mod
 include/netcdf.inc
+${PLIST.f90}include/netcdf.mod
+${PLIST.f90}include/typesizes.mod
 info/netcdf-f77.info
 info/netcdf-f77.info-1
 info/netcdf-f77.info-2
diff -r efb2f596df68 -r b339cfbfe527 devel/netcdf-fortran/options.mk
--- a/devel/netcdf-fortran/options.mk   Thu Mar 26 10:16:56 2020 +0000
+++ b/devel/netcdf-fortran/options.mk   Thu Mar 26 11:31:48 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2013/04/29 07:43:32 adam Exp $
+# $NetBSD: options.mk,v 1.2 2020/03/26 11:31:48 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.netcdf-fortran
 PKG_SUPPORTED_OPTIONS= f90
@@ -7,9 +7,9 @@
 
 PLIST_VARS+=   f90
 
-.if empty(PKG_OPTIONS:Mf90)
-CONFIGURE_ARGS+=       --disable-f90
-.else
+.if !empty(PKG_OPTIONS:Mf90)
 USE_LANGUAGES+=                fortran
 PLIST.f90=             yes
+.else
+CONFIGURE_ARGS+=       --disable-f90
 .endif



Home | Main Index | Thread Index | Old Index