chiark
/
gitweb
/
~ian
/
userv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bea36a6
)
debian/rules: Fix FTCBFS: Use host tools provided from dpkg
author
Helmut Grohne
<helmut@subdivi.de>
Sun, 26 Dec 2021 00:59:02 +0000
(
00:59
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Dec 2021 01:05:06 +0000
(
01:05
+0000)
Use host tools provided from dpkg's buildtools.mk.
Closes: #985998
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 67c5271261ee8be0febdcd6e932fbacf9331527b..65c44fc9c58586ead8d02e60845454abe2bcc7c9 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-5,8
+5,11
@@
package=userv
t=debian/tmp
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s'
+ INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s
--strip-program=$(STRIP)
'
else
INSTOPTS= INSTALL_PROGRAM='install -c'
endif