From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1222338-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2958913835D
	for <garchives@archives.gentoo.org>; Sat, 14 Nov 2020 20:22:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 40741E087A;
	Sat, 14 Nov 2020 20:22:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2053FE087A
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 20:22:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1640A34116E
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 20:22:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 16E35474
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 20:22:10 +0000 (UTC)
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" <soap@gentoo.org>
Message-ID: <1605385222.979a9bd8a6f13aa110f158e8fa8185d82f79cfb6.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libast/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-libs/libast/libast-0.7-r2.ebuild
X-VCS-Directories: x11-libs/libast/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: 979a9bd8a6f13aa110f158e8fa8185d82f79cfb6
X-VCS-Branch: master
Date: Sat, 14 Nov 2020 20:22:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b77e879f-15e1-473a-9fb7-f4ac4b1c2355
X-Archives-Hash: 603ac4cecf97da63f334d271715771c4

commit:     979a9bd8a6f13aa110f158e8fa8185d82f79cfb6
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Nov 14 20:20:22 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 20:20:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979a9bd8

x11-libs/libast: disable static libs

Closes: https://bugs.gentoo.org/726142
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-libs/libast/libast-0.7-r2.ebuild | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/x11-libs/libast/libast-0.7-r2.ebuild b/x11-libs/libast/libast-0.7-r2.ebuild
index 1d705a9e46f..15f7036f245 100644
--- a/x11-libs/libast/libast-0.7-r2.ebuild
+++ b/x11-libs/libast/libast-0.7-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="LIBrary of Assorted Spiffy Things"
 HOMEPAGE="http://www.eterm.org/download/"
@@ -22,22 +22,19 @@ RDEPEND="
 	media-libs/freetype
 	imlib? ( media-libs/imlib2 )
 	pcre? ( dev-libs/libpcre )"
-
 DEPEND="${RDEPEND}"
 
-DOCS=( README DESIGN ChangeLog )
-
-src_prepare() {
-	default
-	local myregexp="posix"
-	use pcre && myregexp="pcre"
+src_configure() {
 	econf \
 		$(use_with imlib) \
 		$(use_enable cpu_flags_x86_mmx mmx) \
-		--with-regexp="${myregexp}"
+		--with-regexp=$(usex pcre pcre posix) \
+		--disable-static
 }
 
 src_install() {
 	default
-	emake DESTDIR="${D}" install
+	dodoc DESIGN
+
+	find "${ED}" -name '*.la' -delete || die
 }