summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-ac-packagename.patch
blob: 50f3fce1f9b502cd9fd9567e4271a643fdffdb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Hard-code the autoconf package name. Debian includes the version
  number in the directory name so it gets set to the wrong name and thereby
  generates the wrong .pc file
Forwarded: not-needed
Author: Stephen Gelman <ssgelm@debian.org>
Last-Update: 2021-07-29
---
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
 
 AC_PREREQ([2.69])
 AC_COPYRIGHT([Copyright (C) 2020 HAProxy Technologies])
-AC_INIT(m4_esyscmd_s([basename ${PWD}]), m4_esyscmd_s([awk '/Package/ { print $3 }' VERSION]), [mzagorac@haproxy.com])
+AC_INIT([opentracing-c-wrapper], m4_esyscmd_s([awk '/Package/ { print $3 }' VERSION]), [mzagorac@haproxy.com])
 AC_CONFIG_MACRO_DIR([m4])
 AX_VARIABLE_SET([LIB_VERSION], m4_esyscmd_s([awk '/Library/ { print $3 }' VERSION]))