pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/netcdf devel/netcdf: Make this build on platform...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf48982ea403
branches:  trunk
changeset: 372218:bf48982ea403
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Nov 29 18:29:35 2017 +0000

description:
devel/netcdf: Make this build on platforms without libdl

diffstat:

 devel/netcdf/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 19e3b48ba8cb -r bf48982ea403 devel/netcdf/Makefile
--- a/devel/netcdf/Makefile     Wed Nov 29 16:52:44 2017 +0000
+++ b/devel/netcdf/Makefile     Wed Nov 29 18:29:35 2017 +0000
@@ -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 @@
 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