[Pkg-ocaml-maint-commits] [ocplib-simplex] 04/07: Makefile.in: usage of $(DESTDIR)
Ralf Treinen
treinen at moszumanska.debian.org
Wed Nov 15 07:45:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository ocplib-simplex.
commit 84dd991e08c5a320798479c1a277a088769f73c7
Author: Ralf Treinen <treinen at free.fr>
Date: Tue Nov 14 21:42:17 2017 +0100
Makefile.in: usage of $(DESTDIR)
---
debian/changelog | 3 ++-
debian/patches/destdir | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 37b8be3..b9e7ff0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ ocplib-simplex (0.4-1) unstable; urgency=medium
* New upstream version.
- dropped patch install-target which has been integrated by upstream
+ - new patch destdir: don't have $(DESTDIR) filled in by ./configure
- -- Ralf Treinen <treinen at debian.org> Tue, 14 Nov 2017 21:37:38 +0100
+ -- Ralf Treinen <treinen at debian.org> Wed, 15 Nov 2017 07:37:33 +0100
ocplib-simplex (0.3-1) unstable; urgency=medium
diff --git a/debian/patches/destdir b/debian/patches/destdir
new file mode 100644
index 0000000..d1410cf
--- /dev/null
+++ b/debian/patches/destdir
@@ -0,0 +1,21 @@
+Author: Ralf Treinen <treinen at debian.org>
+Description: don't have $(DESTDIR) filled in by ./configure
+
+Index: ocplib-simplex/Makefile.in
+===================================================================
+--- ocplib-simplex.orig/Makefile.in 2017-11-15 07:31:55.137294775 +0100
++++ ocplib-simplex/Makefile.in 2017-11-15 07:32:59.217640006 +0100
+@@ -13,11 +13,11 @@
+ # (enclosed in the file LGPL).
+
+ # where to install the binaries
+-DESTDIR=@prefix@
++DESTDIR=
+ # prefix=@prefix@
+ # exec_prefix=@exec_prefix@
+ # BINDIR=$(DESTDIR)@bindir@
+-LIBDIR=$(DESTDIR)/lib/
++LIBDIR=$(DESTDIR)/@OCAMLLIB@
+ # DATADIR=$(DESTDIR)@datadir@/ocplib-simplex
+
+ # where to install the man page
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cd70b32
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+destdir
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocplib-simplex.git
More information about the Pkg-ocaml-maint-commits
mailing list