Package: libpdl-netcdf-perl
Version: 4.20-1
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertags: netcdf-split-c-f-cxx

Dear Maintainer,

For the upcoming netcdf transition your package needs a change to
support the Multi-Arch path for libnetdf.so to build successfully.

The attached patch adds a version constraint on the new libnetcdf-dev in
experimental and exports NETCDF_LIBDIR with the Multi-Arch path.

Kind Regards,

Bas
diff -ruN ../libpdl-netcdf-perl-4.20_debian.orig/control debian/control
--- ../libpdl-netcdf-perl-4.20_debian.orig/control	2015-07-28 13:44:20.090131645 +0200
+++ debian/control	2015-07-28 13:44:32.510067361 +0200
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends:
- libnetcdf-dev,
+ libnetcdf-dev (>= 1:4.3.3.1),
  pdl (>=1:2.007-1),
  perl,
  debhelper (>= 9),
diff -ruN ../libpdl-netcdf-perl-4.20_debian.orig/rules debian/rules
--- ../libpdl-netcdf-perl-4.20_debian.orig/rules	2015-07-28 13:44:20.090131645 +0200
+++ debian/rules	2015-07-28 13:47:06.885267902 +0200
@@ -17,6 +17,11 @@
 PERL = /usr/bin/perl
 endif
 
+# NetCDF >= 4.3.3.1 uses Multi-Arch path
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+export NETCDF_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to