Package: octave-gmt
Version: 4.5.11-1
Severity: normal
Tags: patch

Please, use an unversioned path for installing the *.m and *.mex files provided in this package. This will avoid breaking your package when the octave package is updated. The patch attached below fixes this problem. Note also that this patch creates private directories for the Octave files, which is the common practice for packages providing add-ons for Octave in Debian.


Rafael Laboissiere

-- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (550, 'stable'), (500, 'experimental') Architecture: i386 (i686)

Kernel: Linux 3.10-rc7-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

>From 36f994bd6b51cae572a89676d2a1aae82d781407 Mon Sep 17 00:00:00 2001
From: Rafael Laboissiere <>
Date: Fri, 3 Jan 2014 04:34:52 +0100
Subject: [PATCH] Use unsversioned paths for installing the Octave files

Furthermore, the files are now installed into private directories
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8b29265..40c6ecd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,8 +38,8 @@ build-stamp:
 	$(CURDIR)/configure \
 		--enable-shared $(PATHCONFIG) --disable-mex --enable-netcdf=/usr \
 		--enable-octave \
-	    --enable-mex-mdir=$(shell octave-config --m-site-dir) \
-		--enable-mex-xdir=$(shell octave-config --oct-site-dir) 
+	    --enable-mex-mdir=$(shell octave-config -p LOCALFCNFILEDIR)/gmt \
+		--enable-mex-xdir=$(shell octave-config -p LOCALOCTFILEDIR)/gmt
 	$(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" all suppl 
 	touch $@

Pkg-grass-devel mailing list

Reply via email to