summaryrefslogtreecommitdiff
path: root/sysutils/debhelper/files/patch-Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-19 23:29:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-19 23:29:51 +0000
commit2eef169e7230cb14325aea65d799b79c887bbf13 (patch)
tree4d2716f98bc5abe17ac7e44e9f67d3a05cc2e06e /sysutils/debhelper/files/patch-Makefile
parentMove devel/py-jupyterlab_server to devel/py-jupyterlab-server (diff)
Update to 13.1
Changes: https://salsa.debian.org/debian/debhelper/-/blob/master/debian/changelog
Notes
Notes: svn path=/head/; revision=535899
Diffstat (limited to 'sysutils/debhelper/files/patch-Makefile')
-rw-r--r--sysutils/debhelper/files/patch-Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/debhelper/files/patch-Makefile b/sysutils/debhelper/files/patch-Makefile
index cd6aa9624ad9..3ddb91e28f05 100644
--- a/sysutils/debhelper/files/patch-Makefile
+++ b/sysutils/debhelper/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2020-01-27 20:31:46 UTC
+--- Makefile.orig 2020-05-17 09:32:16 UTC
+++ Makefile
@@ -3,7 +3,7 @@ PO4A ?= po4a
POD2MAN ?= pod2man
@@ -9,7 +9,7 @@
MANPAGES=$(COMMANDS:=.1) dh.1
# Find deprecated commands by looking at their synopsis.
-@@ -118,19 +118,18 @@ endif
+@@ -118,23 +118,22 @@ endif
done;
install:
@@ -29,10 +29,14 @@
+ install -m 0644 lib/Debian/Debhelper/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper
[ "$(PREFIX)" = /usr ] || \
- sed -i '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm
++ sed -i '' '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Dh_Lib.pm
+ if [ "$(VERSION)" ]; then \
+ MV=$$(echo "$(VERSION)" | $(PERL) -ne 'print $$1 if /^(\d+)[~.]/;') ; \
+ sed -i "/constant HIGHEST_STABLE_COMPAT_LEVEL =>/s@=>.*;@=> $${MV};@g" $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm ; \
+ fi
- install -m 0644 lib/Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence
- install -m 0644 lib/Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem
- install -m 0644 lib/Debian/Debhelper/DH/*.pm $(DESTDIR)$(PERLLIBDIR)/DH
-+ sed -i '' '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Dh_Lib.pm
+ install -m 0644 lib/Debian/Debhelper/Sequence/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Sequence
+ install -m 0644 lib/Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Buildsystem
+ install -m 0644 lib/Debian/Debhelper/DH/*.pm $(DESTDIR)${SITE_PERL}/DH