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
 
