summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2021-05-27 11:00:23 +0900
committerNaohiro Aota <naota@gentoo.org>2021-05-27 11:05:23 +0900
commit79dfca2512dbaaf7e133e629f27cf2815a8477e0 (patch)
tree9d948a95c030b43c413e92b0f7ace79708ccde47 /media-libs/libuninameslist
parentnet-firewall/nftables-0.9.9: Version bump, sync 9999 (diff)
downloadgentoo-79dfca2512dbaaf7e133e629f27cf2815a8477e0.tar.gz
gentoo-79dfca2512dbaaf7e133e629f27cf2815a8477e0.tar.bz2
gentoo-79dfca2512dbaaf7e133e629f27cf2815a8477e0.zip
media-libs/libuninameslist: enable french lib
This commit enable frenclib to fix build with -O0 (undefined references). Enabling french lib caused parallel make issue, so Makefile.am is also patched. Closes: https://bugs.gentoo.org/781716 Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'media-libs/libuninameslist')
-rw-r--r--media-libs/libuninameslist/files/libuninameslist-20200413-makefile.patch20
-rw-r--r--media-libs/libuninameslist/libuninameslist-20200413-r2.ebuild32
2 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/libuninameslist/files/libuninameslist-20200413-makefile.patch b/media-libs/libuninameslist/files/libuninameslist-20200413-makefile.patch
new file mode 100644
index 000000000000..fc9c24329a4d
--- /dev/null
+++ b/media-libs/libuninameslist/files/libuninameslist-20200413-makefile.patch
@@ -0,0 +1,20 @@
+diff --git a/Makefile.am b/Makefile.am
+index 98be02ca26c8..848bc6c8269b 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -44,6 +44,7 @@ lib_LTLIBRARIES += libuninameslist.la
+
+ include_HEADERS = uninameslist.h
+ libuninameslist_la_LIBADD =
++EXTRA_libuninameslist_la_DEPENDENCIES =
+ man_MANS = libuninameslist.3
+ noinst_HEADERS = nameslist-dll.h
+
+@@ -53,6 +54,7 @@ libuninameslist_fr_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(FR_VERSION)
+ libuninameslist_fr_la_SOURCES = nameslist-fr.c
+ libuninameslist_fr_la.$(OBJEXT): uninameslist-fr.h nameslist-dll.h
+ libuninameslist_la_LIBADD += -luninameslist-fr
++EXTRA_libuninameslist_la_DEPENDENCIES += libuninameslist-fr.la
+ man_MANS += libuninameslist-fr.3
+ else
+ EXTRA_DIST += nameslist-fr.c uninameslist-fr.h libuninameslist-fr.3
diff --git a/media-libs/libuninameslist/libuninameslist-20200413-r2.ebuild b/media-libs/libuninameslist/libuninameslist-20200413-r2.ebuild
new file mode 100644
index 000000000000..f83f0bcf85a2
--- /dev/null
+++ b/media-libs/libuninameslist/libuninameslist-20200413-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Library of unicode annotation data"
+HOMEPAGE="https://github.com/fontforge/libuninameslist"
+SRC_URI="https://github.com/fontforge/libuninameslist/releases/download/${PV}/${PN}-dist-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20200413-makefile.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static --enable-frenchlib
+}
+
+src_install() {
+ default
+ find "${ED}"/usr -name '*.la' -delete || die
+}