Wed Nov 29 18:29:35 2017 UTC ()
devel/netcdf: Make this build on platforms without libdl


(minskim)
diff -r1.44 -r1.45 pkgsrc/devel/netcdf/Makefile

cvs diff -r1.44 -r1.45 pkgsrc/devel/netcdf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/netcdf/Makefile 2017/11/28 17:52:02 1.44
+++ pkgsrc/devel/netcdf/Makefile 2017/11/29 18:29:35 1.45
@@ -1,19 +1,23 @@ @@ -1,19 +1,23 @@
1# $NetBSD: Makefile,v 1.44 2017/11/28 17:52:02 minskim Exp $ 1# $NetBSD: Makefile,v 1.45 2017/11/29 18:29:35 minskim Exp $
2 2
3DISTNAME= netcdf-4.4.1.1 3DISTNAME= netcdf-4.4.1.1
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= https://www.unidata.ucar.edu/downloads/netcdf/ftp/ 5MASTER_SITES= https://www.unidata.ucar.edu/downloads/netcdf/ftp/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://www.unidata.ucar.edu/software/netcdf/index.html 8HOMEPAGE= https://www.unidata.ucar.edu/software/netcdf/index.html
9COMMENT= Library for array-oriented data access 9COMMENT= Library for array-oriented data access
10 10
11USE_LANGUAGES= c c++ 11USE_LANGUAGES= c c++
12USE_LIBTOOL= yes 12USE_LIBTOOL= yes
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14CONFIGURE_ARGS+= --disable-doxygen 14CONFIGURE_ARGS+= --disable-doxygen
15CONFIGURE_ARGS+= --disable-examples 15CONFIGURE_ARGS+= --disable-examples
16 16
 17.include "../../mk/dlopen.buildlink3.mk"
 18
 19BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
 20
17.include "../../devel/hdf5/buildlink3.mk" 21.include "../../devel/hdf5/buildlink3.mk"
18.include "../../www/curl/buildlink3.mk" 22.include "../../www/curl/buildlink3.mk"
19.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"