pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/netcdf netcdf: do not install libbzip2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/977575018cae
branches:  trunk
changeset: 444355:977575018cae
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 05 17:05:41 2021 +0000

description:
netcdf: do not install libbzip2.

Unused and breaks other stuff, see e.g. PR 55909.

Bump PKGREVISION.

diffstat:

 devel/netcdf/Makefile |  8 ++++++--
 devel/netcdf/PLIST    |  5 +----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r e2108300cc6c -r 977575018cae devel/netcdf/Makefile
--- a/devel/netcdf/Makefile     Tue Jan 05 15:14:38 2021 +0000
+++ b/devel/netcdf/Makefile     Tue Jan 05 17:05:41 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2020/05/22 10:55:45 adam Exp $
+# $NetBSD: Makefile,v 1.60 2021/01/05 17:05:41 wiz Exp $
 
 DISTNAME=      netcdf-4.6.1
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    devel
 MASTER_SITES=  https://www.unidata.ucar.edu/downloads/netcdf/ftp/
 
@@ -16,10 +16,14 @@
 CONFIGURE_ARGS+=       --disable-doxygen
 CONFIGURE_ARGS+=       --disable-examples
 
+post-install:
+       rm ${DESTDIR}${PREFIX}/lib/libbzip2.*
+
 .include "../../mk/dlopen.buildlink3.mk"
 
 BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:M*}
 
+.include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/hdf5/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e2108300cc6c -r 977575018cae devel/netcdf/PLIST
--- a/devel/netcdf/PLIST        Tue Jan 05 15:14:38 2021 +0000
+++ b/devel/netcdf/PLIST        Tue Jan 05 17:05:41 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/05/16 06:32:58 wen Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/01/05 17:05:41 wiz Exp $
 bin/nc-config
 bin/nccopy
 bin/ncdump
@@ -8,10 +8,7 @@
 include/netcdf.h
 include/netcdf_mem.h
 include/netcdf_meta.h
-lib/libbzip2.la
-lib/libbzip2.so
 lib/libmisc.la
-lib/libmisc.so
 lib/libnetcdf.la
 lib/libnetcdf.settings
 lib/pkgconfig/netcdf.pc



Home | Main Index | Thread Index | Old Index