mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/libmaa: Fix the build with rlibtool
The configure.in lacks LT_INIT which generates libtool and allows the build to work with rlibtool which depends on this file to determine if it should build shared or static libraries. Closes: https://bugs.gentoo.org/778464 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25947 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
55
dev-libs/libmaa/files/libmaa-1.3.2-libtool.patch
Normal file
55
dev-libs/libmaa/files/libmaa-1.3.2-libtool.patch
Normal file
@@ -0,0 +1,55 @@
|
||||
https://bugs.gentoo.org/778464
|
||||
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Fri, 17 Jun 2022 15:59:49 -0700
|
||||
Subject: [PATCH] configure: Add missing LT_INIT
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -27,6 +27,7 @@ VERSION=$(MAA_MAJOR).$(MAA_MINOR).$(MAA_TEENY)
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@
|
||||
prefix= @prefix@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -28,6 +28,8 @@ AC_INIT
|
||||
AC_CONFIG_SRCDIR([maa.h])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
+LT_INIT
|
||||
+
|
||||
MAA_MAJOR=1
|
||||
MAA_MINOR=3
|
||||
MAA_TEENY=2
|
||||
@@ -38,7 +40,7 @@ echo .
|
||||
AC_CANONICAL_HOST
|
||||
AC_PROG_AWK
|
||||
AC_PROG_CC
|
||||
-#AC_PROG_LIBTOOL
|
||||
+AC_PROG_LIBTOOL
|
||||
AC_ISC_POSIX
|
||||
|
||||
if test "$CC" = gcc; then
|
||||
@@ -57,8 +59,6 @@ AC_CHECK_PROGS(DVIPS,dvips)
|
||||
AC_CHECK_PROGS(REFBIBTEX,refbibtex)
|
||||
AC_CHECK_PROGS(BIBTEX,bibtex)
|
||||
|
||||
-AC_CHECK_PROG(LIBTOOL,libtool,libtool)
|
||||
-
|
||||
echo .
|
||||
echo Checking for header file support
|
||||
|
||||
--- a/doc/Makefile.in
|
||||
+++ b/doc/Makefile.in
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@
|
||||
prefix= @prefix@
|
||||
Reference in New Issue
Block a user