summaryrefslogtreecommitdiff
path: root/user/tinyfugue/0006-Fix-library-install-path.patch
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-08-04 23:13:23 +0000
committerSheila Aman <sheila@vulpine.house>2021-08-04 23:14:02 +0000
commit1e5f0c623264165ed85bea37c81ea01400512899 (patch)
treec76da9cc943487116de65194d7c7cec331df8193 /user/tinyfugue/0006-Fix-library-install-path.patch
parent29c9bc40a8f18ed162c7e6790a4e77ff78530c31 (diff)
downloadpackages-1e5f0c623264165ed85bea37c81ea01400512899.tar.gz
packages-1e5f0c623264165ed85bea37c81ea01400512899.tar.bz2
packages-1e5f0c623264165ed85bea37c81ea01400512899.tar.xz
packages-1e5f0c623264165ed85bea37c81ea01400512899.zip
user/tinyfugue: move from tf, upgrade to 5.1.1
Diffstat (limited to 'user/tinyfugue/0006-Fix-library-install-path.patch')
-rw-r--r--user/tinyfugue/0006-Fix-library-install-path.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/tinyfugue/0006-Fix-library-install-path.patch b/user/tinyfugue/0006-Fix-library-install-path.patch
new file mode 100644
index 000000000..c43b3873e
--- /dev/null
+++ b/user/tinyfugue/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.ac | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index e783564..c938531 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -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)
+