Nilesh Patra pushed to branch master at Debian Med / bioawk


Commits:
67e64a37 by Nilesh Patra at 2021-03-17T22:53:57+05:30
Use dpkg buildtools to set CC and CC_FOR_BUILD

- - - - -
2a8f1bc7 by Nilesh Patra at 2021-03-17T22:53:57+05:30
d/p/cross.patch: Avoid hardcoding pkg-config

- - - - -
69893373 by Nilesh Patra at 2021-03-17T22:53:57+05:30
Update changelog

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/cross.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+bioawk (1.0-4) unstable; urgency=medium
+
+  * d/p/cross.patch: Fix non-cross buildability
+  * Use dpkg buildtools to set CC and CC_FOR_BUILD
+    (Closes: #985410)
+
+ -- Nilesh Patra <[email protected]>  Wed, 17 Mar 2021 22:23:42 +0530
+
 bioawk (1.0-3) unstable; urgency=medium
 
   * Change test dependency from swarm to


=====================================
debian/patches/cross.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Compile maketab with build compiler, since it executes during 
build time - the generated proctab.c does not seem to vary across arches
+Author: Nilesh Patra <[email protected]>
+Last-Update: 2021-03-17
+--- a/Makefile
++++ b/Makefile
+@@ -53,7 +53,7 @@
+       ./maketab >proctab.c
+ 
+ maketab:      ytab.h maketab.c
+-      $(CC) $(CFLAGS) $(CPPFLAGS) maketab.c -o maketab $(LDFLAGS)
++      $(CC_FOR_BUILD) $(CFLAGS) $(CPPFLAGS) maketab.c -o maketab $(LDFLAGS)
+ 
+ names:
+       @echo $(LISTING)


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 Makefile.patch
 hardening.patch
+cross.patch


=====================================
debian/rules
=====================================
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 export DH_VERBOSE = 1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDTOOLS = nonempty
+include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@



View it on GitLab: 
https://salsa.debian.org/med-team/bioawk/-/compare/c7000a2bc919120665729f307a5698b9e79008b1...698933737495d3e8d08dd4172e45ec4bb0a90086

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/bioawk/-/compare/c7000a2bc919120665729f307a5698b9e79008b1...698933737495d3e8d08dd4172e45ec4bb0a90086
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to