[Git][debian-gis-team/ogdi-dfsg][master] Add patch to not include package build path in MODULES_PATH.
Bas Couwenberg
gitlab at salsa.debian.org
Sat Jun 27 18:43:13 BST 2020
Bas Couwenberg pushed to branch master at Debian GIS Project / ogdi-dfsg
Commits:
e19a4c51 by Bas Couwenberg at 2020-06-27T19:43:05+02:00
Add patch to not include package build path in MODULES_PATH.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/modules_path.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -6,6 +6,7 @@ ogdi-dfsg (4.1.0+ds-2) UNRELEASED; urgency=medium
- Drop --parallel option, enabled by default
- Don't explicitly enable autoreconf, enabled by default
- Drop dh-autoreconf build dependency
+ * Add patch to not include package build path in MODULES_PATH.
-- Bas Couwenberg <sebastic at debian.org> Wed, 10 Jul 2019 18:38:59 +0200
=====================================
debian/patches/modules_path.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Don't include package build path in MODULES_PATH.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/ogdi/c-api/makefile
++++ b/ogdi/c-api/makefile
+@@ -24,7 +24,7 @@ INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_
+ $(GRASS_INCLUDE) $(ZLIB_INCLUDE) \
+ $(EXPAT_INCLUDE)
+
+-CFLAGS = $(INCLUDES) $(COMMON_CFLAGS) -DMODULES_PATH="\"$(INST_LIB)/ogdi/\""
++CFLAGS = $(INCLUDES) $(COMMON_CFLAGS) -DMODULES_PATH="\"/usr/lib/ogdi/\""
+
+ LINK_LIBS= $(RPC_LINKLIB) $(ZLIB_LINKLIB) $(EXPAT_LINKLIB) $(WIN_LINKLIB) \
+ $(MATH_LINKLIB)
=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ hurd
hardening
spelling-errors
install-so-link
+modules_path.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/ogdi-dfsg/-/commit/e19a4c51f15685e5dfb9051a448ad149c5c584a9
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/ogdi-dfsg/-/commit/e19a4c51f15685e5dfb9051a448ad149c5c584a9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200627/d3588f77/attachment.html>
More information about the Pkg-grass-devel
mailing list