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 C6BDC138335 for ; Wed, 6 Jun 2018 14:34:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C333E0B61; Wed, 6 Jun 2018 14:34:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 43C73E0B61 for ; Wed, 6 Jun 2018 14:34:25 +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 2AABA335C8D for ; Wed, 6 Jun 2018 14:34:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78DB22B2 for ; Wed, 6 Jun 2018 14:34:21 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1528295650.f99a9cecf5aa761f52834a95f64483ecab94376a.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/, dev-vcs/git/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git/files/git-2.17.0-mw_install_path_fix.patch dev-vcs/git/git-2.17.1-r1.ebuild dev-vcs/git/git-2.17.1.ebuild X-VCS-Directories: dev-vcs/git/ dev-vcs/git/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f99a9cecf5aa761f52834a95f64483ecab94376a X-VCS-Branch: master Date: Wed, 6 Jun 2018 14:34:21 +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-Archives-Salt: 792c2fed-3590-4ca8-8b4b-45f4d433335b X-Archives-Hash: a13bbc7b90d39245dbe3c4e9c9872ff4 commit: f99a9cecf5aa761f52834a95f64483ecab94376a Author: Lars Wendler gentoo org> AuthorDate: Wed Jun 6 14:12:25 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jun 6 14:34:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99a9cec dev-vcs/git: Revbump to fix installation of MediaWiki perl module Removed old. Closes: https://bugs.gentoo.org/655960 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../git/files/git-2.17.0-mw_install_path_fix.patch | 48 ++++++++++++++++++++++ .../{git-2.17.1.ebuild => git-2.17.1-r1.ebuild} | 2 + 2 files changed, 50 insertions(+) diff --git a/dev-vcs/git/files/git-2.17.0-mw_install_path_fix.patch b/dev-vcs/git/files/git-2.17.0-mw_install_path_fix.patch new file mode 100644 index 00000000000..5a66a4c89be --- /dev/null +++ b/dev-vcs/git/files/git-2.17.0-mw_install_path_fix.patch @@ -0,0 +1,48 @@ +From cfb3a47cada99d1bdccd08426f122ded2a63834e Mon Sep 17 00:00:00 2001 +From: Christian Hesse +Date: Tue, 10 Apr 2018 15:36:41 +0200 +Subject: [PATCH] perl: fix installing modules from contrib + +Commit 20d2a30f (Makefile: replace perl/Makefile.PL with simple make rules) +removed a target that allowed Makefiles from contrib/ to get the correct +install path. This introduces a new target for main Makefile and fixes +installation for Mediawiki module. + +v2: Pass prefix as that can have influence as well, add single quotes + for _SQ variant. + +Signed-off-by: Christian Hesse +--- + Makefile | 2 ++ + contrib/mw-to-git/Makefile | 5 +++-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 2091f5f892cc8..75b9ad3b480cb 100644 +--- a/Makefile ++++ b/Makefile +@@ -1973,6 +1973,8 @@ GIT-PERL-DEFINES: FORCE + echo "$$FLAGS" >$@; \ + fi + ++perllibdir: ++ @echo '$(perllibdir_SQ)' + + .PHONY: gitweb + gitweb: +diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile +index a4b6f7a2cd412..4e603512a39fe 100644 +--- a/contrib/mw-to-git/Makefile ++++ b/contrib/mw-to-git/Makefile +@@ -21,8 +21,9 @@ HERE=contrib/mw-to-git/ + INSTALL = install + + SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL)) +-INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \ +- -s --no-print-directory instlibdir) ++INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/ \ ++ -s --no-print-directory prefix=$(prefix) \ ++ perllibdir=$(perllibdir) perllibdir) + DESTDIR_SQ = $(subst ','\'',$(DESTDIR)) + INSTLIBDIR_SQ = $(subst ','\'',$(INSTLIBDIR)) + diff --git a/dev-vcs/git/git-2.17.1.ebuild b/dev-vcs/git/git-2.17.1-r1.ebuild similarity index 99% rename from dev-vcs/git/git-2.17.1.ebuild rename to dev-vcs/git/git-2.17.1-r1.ebuild index 5f55ce0d640..da380deae0b 100644 --- a/dev-vcs/git/git-2.17.1.ebuild +++ b/dev-vcs/git/git-2.17.1-r1.ebuild @@ -139,6 +139,8 @@ PATCHES=( # bug #350330 - automagic CVS when we don't want it is bad. "${FILESDIR}"/git-2.17.0_rc1-optional-cvs.patch + "${FILESDIR}"/git-2.17.0-mw_install_path_fix.patch #655960 + "${FILESDIR}"/git-2.2.0-svn-fe-linking.patch # Bug #493306, where FreeBSD 10.x merged libiconv into its libc.