pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/netcdf
Module Name: pkgsrc
Committed By: minskim
Date: Wed Nov 29 18:29:35 UTC 2017
Modified Files:
pkgsrc/devel/netcdf: Makefile
Log Message:
devel/netcdf: Make this build on platforms without libdl
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/netcdf/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/netcdf/Makefile
diff -u pkgsrc/devel/netcdf/Makefile:1.44 pkgsrc/devel/netcdf/Makefile:1.45
--- pkgsrc/devel/netcdf/Makefile:1.44 Tue Nov 28 17:52:02 2017
+++ pkgsrc/devel/netcdf/Makefile Wed Nov 29 18:29:35 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2017/11/28 17:52:02 minskim Exp $
+# $NetBSD: Makefile,v 1.45 2017/11/29 18:29:35 minskim Exp $
DISTNAME= netcdf-4.4.1.1
CATEGORIES= devel
@@ -14,6 +14,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-doxygen
CONFIGURE_ARGS+= --disable-examples
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+
.include "../../devel/hdf5/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index