Description: Fix current directory detection in Makefile.in
 PWD is set from "$(shell pwd)" which didn't work reliably. Use the variable
 CURDIR instead which exists for this purpose.
Author: Andreas Bombe <aeb@debian.org>
Applied-Upstream: https://github.com/ghdl/ghdl/commit/23b2ab60ed68afc91fc68aafaf4ad54efcead307
Last-Update: 2021-10-31
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: git/Makefile.in
===================================================================
--- git.orig/Makefile.in	2021-02-10 00:47:30.930054263 +0100
+++ git/Makefile.in	2021-02-10 00:47:30.930054263 +0100
@@ -43,7 +43,7 @@
 
 INSTALL_PROGRAM=install -m 755
 INSTALL_DATA=install -m 644
-PWD?=$(shell pwd)
+PWD=$(CURDIR)
 DESTDIR=
 bindir=$(prefix)/bin
 libdir=$(prefix)/lib
