summaryrefslogtreecommitdiff
path: root/debian/patches/make-build-output-independent-of-basenam.patch
blob: 650dcd9307aec2b1d5645966ff6a88c184889af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Daniel Shahaf <danielsh@apache.org>
Date: Tue, 22 Dec 2020 02:34:33 +0000
X-Dgit-Generated: 265-6 39b5ad825edc1220edb289947a53c7ad26e79614
Subject: Make build output independent of basename of source directory

(Closes: #845229)

Needed for reproducible builds.

Author: Daniel Shahaf <danielsh@apache.org>
Bug-Debian: https://bugs.debian.org/845229
Last-Update: 2016-11-21

---

--- libnss-ldap-265.orig/Makefile.am
+++ libnss-ldap-265/Makefile.am
@@ -109,5 +109,5 @@ uninstall-local:
 	@$(NORMAL_UNINSTALL)
 
 vers.c: $(top_srcdir)/CVSVersionInfo.txt
-	CVSVERSIONDIR=$(top_srcdir) $(top_srcdir)/vers_string -v
+	CVSVERSIONDIR=$(top_srcdir) PROGRAM="libnss-ldap-$(VERSION)" $(top_srcdir)/vers_string -v