diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2018-01-24 10:07:31 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-01-27 19:44:23 +0000 |
commit | 24915c3da0f470c30262dcb1af32788fc702dfbc (patch) | |
tree | 02c12661be569b1e72093d1ef87f91c90395fd1d /testing/tf/0006-Fix-library-install-path.patch | |
parent | 73dc9eda8622e8f570d143fcd9fcadd822006553 (diff) | |
download | aports-24915c3da0f470c30262dcb1af32788fc702dfbc.tar.bz2 aports-24915c3da0f470c30262dcb1af32788fc702dfbc.tar.xz |
testing/tf: new package
Diffstat (limited to 'testing/tf/0006-Fix-library-install-path.patch')
-rw-r--r-- | testing/tf/0006-Fix-library-install-path.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/tf/0006-Fix-library-install-path.patch b/testing/tf/0006-Fix-library-install-path.patch new file mode 100644 index 0000000000..52c8e885f0 --- /dev/null +++ b/testing/tf/0006-Fix-library-install-path.patch @@ -0,0 +1,38 @@ +From: Russ Allbery <rra@debian.org> +Date: Sun, 14 Aug 2016 14:14:47 -0700 +Subject: Fix library install path + +The upstream top-level configure script doesn't correctly handle +--program-suffix without this tweak. +--- + configure.in | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/configure.in b/configure.in +index e783564..c938531 100644 +--- a/configure.in ++++ b/configure.in +@@ -599,13 +599,13 @@ fi + dnl The "right" way of using program_transform_name, program_prefix, and + dnl program_suffix expects you to use AC_ARG_PROGRAM here and do transformation + dnl in the Makefile, but we want the values now, so we do it ourselves. +-EXENAME="tf" ++EXENAME="tf" PROGNAME="tf" + test "${program_prefix}" != "NONE" && EXENAME="${program_prefix}${EXENAME}" + test "${program_suffix}" != "NONE" && EXENAME="${EXENAME}${program_suffix}" + if test "${program_transform_name}" != "NONE"; then + EXENAME=`echo "${EXENAME}" | sed "${program_transform_name}"` + fi +-LIBNAME="${EXENAME}-lib" ++LIBNAME="${PROGNAME}-lib" + + if test "$enable_symlink" = "no"; then + SYMLINK="" +@@ -616,6 +616,7 @@ else + fi + + AC_SUBST(EXENAME) ++AC_SUBST(PROGNAME) + AC_SUBST(LIBNAME) + AC_SUBST(SYMLINK) + |