From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7963A138334 for ; Thu, 8 Aug 2019 15:01:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9E5BE07FA; Thu, 8 Aug 2019 15:01: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 78881E07FA for ; Thu, 8 Aug 2019 15:01:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6D794349699 for ; Thu, 8 Aug 2019 15:01:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 420A82A5 for ; Thu, 8 Aug 2019 15:01:13 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1565276449.0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liblockfile/files/, net-libs/liblockfile/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/liblockfile/files/liblockfile-1.15-makefile.patch net-libs/liblockfile/liblockfile-1.15.ebuild X-VCS-Directories: net-libs/liblockfile/ net-libs/liblockfile/files/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e X-VCS-Branch: master Date: Thu, 8 Aug 2019 15:01:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad7786be-589a-4735-bc0a-babcf2f39689 X-Archives-Hash: 1c34e9617bf190b9a43a1972864395aa commit: 0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Aug 8 14:58:44 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Aug 8 15:00:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af6bf4d net-libs/liblockfile: Export AR; Don't run tests when not requested Closes: https://bugs.gentoo.org/468156 Bug: https://bugs.gentoo.org/691706 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann gentoo.org> .../files/liblockfile-1.15-makefile.patch | 74 ++++++++++++++++++++++ net-libs/liblockfile/liblockfile-1.15.ebuild | 10 ++- 2 files changed, 81 insertions(+), 3 deletions(-) diff --git a/net-libs/liblockfile/files/liblockfile-1.15-makefile.patch b/net-libs/liblockfile/files/liblockfile-1.15-makefile.patch new file mode 100644 index 00000000000..952a5703b5d --- /dev/null +++ b/net-libs/liblockfile/files/liblockfile-1.15-makefile.patch @@ -0,0 +1,74 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -9,8 +9,9 @@ NFSVER = 0.1 + CFLAGS = @CFLAGS@ -I. + LDFLAGS = @LDFLAGS@ + CC = @CC@ ++AR = @AR@ + +-prefix = $(DESTDIR)@prefix@ ++prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + libdir = @libdir@ +@@ -22,7 +23,7 @@ MAILGROUP = @MAILGROUP@ + + VERSION = $(shell sed -ne "1s/^liblockfile (\(.*\))/\1/p" < Changelog) + +-all: @TARGETS@ test ++all: @TARGETS@ + install: @INSTALL_TARGETS@ + + static: liblockfile.a dotlockfile +@@ -51,34 +52,34 @@ xlockfile.o: lockfile.c + $(CC) $(CFLAGS) -c lockfile.c -o xlockfile.o + + install_static: static install_common +- install -d -m 755 -g root -p $(libdir) +- install -m 644 liblockfile.a $(libdir) ++ install -d -m 755 -p $(DESTDIR)$(libdir) ++ install -m 644 liblockfile.a $(DESTDIR)$(libdir) + + install_shared: shared install_static install_common +- install -d -m 755 -g root -p $(libdir) ++ install -d -m 755 -p $(DESTDIR)$(libdir) + install -m 755 liblockfile.so \ +- $(libdir)/liblockfile.so.$(SOVER) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so.$(MAJOR) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so ++ $(DESTDIR)$(libdir)/liblockfile.so.$(SOVER) ++ ln -s liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so.$(MAJOR) ++ ln -s liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + install_common: +- install -d -m 755 -g root -p $(includedir) +- install -d -m 755 -g root -p $(bindir) +- install -d -m 755 -g root -p $(mandir)/man1 +- install -d -m 755 -g root -p $(mandir)/man3 +- install -m 644 lockfile.h maillock.h $(includedir) ++ install -d -m 755 -p $(DESTDIR)$(includedir) ++ install -d -m 755 -p $(DESTDIR)$(bindir) ++ install -d -m 755 -p $(DESTDIR)$(mandir)/man1 ++ install -d -m 755 -p $(DESTDIR)$(mandir)/man3 ++ install -m 644 lockfile.h maillock.h $(DESTDIR)$(includedir) + if [ "$(MAILGROUP)" != "" ]; then\ +- install -g $(MAILGROUP) -m 2755 dotlockfile $(bindir);\ ++ install -g $(MAILGROUP) -m 2755 dotlockfile $(DESTDIR)$(bindir);\ + else \ +- install -g root -m 755 dotlockfile $(bindir); \ ++ install -m 755 dotlockfile $(DESTDIR)$(bindir); \ + fi +- install -m 644 *.1 $(mandir)/man1 +- install -m 644 *.3 $(mandir)/man3 ++ install -m 644 *.1 $(DESTDIR)$(mandir)/man1 ++ install -m 644 *.3 $(DESTDIR)$(mandir)/man3 + + install_nfslib: nfslib +- install -d -m 755 -g root -p $(nfslockdir) +- install -m 755 nfslock.so.$(NFSVER) $(nfslockdir) ++ install -d -m 755 -p $(DESTDIR)$(nfslockdir) ++ install -m 755 nfslock.so.$(NFSVER) $(DESTDIR)$(nfslockdir) + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + test: test-stamp diff --git a/net-libs/liblockfile/liblockfile-1.15.ebuild b/net-libs/liblockfile/liblockfile-1.15.ebuild index bcfa527efdc..4bd4389ffac 100644 --- a/net-libs/liblockfile/liblockfile-1.15.ebuild +++ b/net-libs/liblockfile/liblockfile-1.15.ebuild @@ -3,10 +3,10 @@ EAPI=7 -inherit autotools multilib +inherit autotools toolchain-funcs multilib DESCRIPTION="Implements functions designed to lock the standard mailboxes" -HOMEPAGE="http://www.debian.org/" +HOMEPAGE="https://www.debian.org/" SRC_URI="mirror://debian/pool/main/libl/${PN}/${PN}_${PV}.orig.tar.gz" LICENSE="LGPL-2" @@ -20,7 +20,7 @@ DEPEND="${RDEPEND}" DOCS=( Changelog README ) PATCHES=( - "${FILESDIR}/${PN}-1.13-makefile.patch" + "${FILESDIR}/${PN}-1.15-makefile.patch" ) src_prepare() { @@ -43,3 +43,7 @@ src_configure() { fi econf --with-mailgroup=${grp} --enable-shared } + +src_compile() { + emake AR="$(tc-getAR)" +}