From owner-svn-ports-head@FreeBSD.ORG Thu Jul 26 06:36:10 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE671065688; Thu, 26 Jul 2012 06:36:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9698FC12; Thu, 26 Jul 2012 06:36:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6Q6a9ZO047523; Thu, 26 Jul 2012 06:36:09 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6Q6a9KH047521; Thu, 26 Jul 2012 06:36:09 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201207260636.q6Q6a9KH047521@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 26 Jul 2012 06:36:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301546 - head/devel/gnome-common/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 06:36:10 -0000 Author: bapt Date: Thu Jul 26 06:36:09 2012 New Revision: 301546 URL: http://svn.freebsd.org/changeset/ports/301546 Log: Fix duplicate patch Modified: head/devel/gnome-common/files/patch-macros2_gnome-autogen.sh-fix-pkg-config Modified: head/devel/gnome-common/files/patch-macros2_gnome-autogen.sh-fix-pkg-config ============================================================================== --- head/devel/gnome-common/files/patch-macros2_gnome-autogen.sh-fix-pkg-config Thu Jul 26 06:33:34 2012 (r301545) +++ head/devel/gnome-common/files/patch-macros2_gnome-autogen.sh-fix-pkg-config Thu Jul 26 06:36:09 2012 (r301546) @@ -33,38 +33,3 @@ https://bugzilla.gnome.org/show_bug.cgi? sed 's/^.*[ ]\([0-9.]*[a-z]*\).*$/\1/'` if compare_versions $vc_min_version $vc_actual_version; then echo "found $vc_actual_version" -https://bugs.gentoo.org/show_bug.cgi?id=427432 -https://bugzilla.gnome.org/show_bug.cgi?id=680363 - ---- ./macros2/gnome-autogen.sh.orig 2009-05-27 23:29:07.000000000 +0200 -+++ ./macros2/gnome-autogen.sh 2012-07-24 10:29:13.064750613 +0200 -@@ -77,6 +77,7 @@ - vc_min_version=$4 - vc_source=$5 - vc_status=1 -+ vc_option="--version" - - vc_checkprog=`eval echo "\\$$vc_variable"` - if [ -n "$vc_checkprog" ]; then -@@ -89,11 +90,19 @@ - else - vc_comparator=">=" - fi -+ # The most reliable way to check pkg-config version is to query the actual -+ # virtual -+ # pkg-config package entry's modversion. This works in all known -+ # implementations. -+ -+ if test "x$vc_package" = "xpkg-config"; then -+ vc_option="--modversion pkg-config" -+ fi - printbold "checking for $vc_package $vc_comparator $vc_min_version..." - for vc_checkprog in $vc_checkprogs; do - echo $ECHO_N " testing $vc_checkprog... " $ECHO_C -- if $vc_checkprog --version < /dev/null > /dev/null 2>&1; then -- vc_actual_version=`$vc_checkprog --version | head -n 1 | \ -+ if $vc_checkprog $vc_option < /dev/null > /dev/null 2>&1; then -+ vc_actual_version=`$vc_checkprog $vc_option | head -n 1 | \ - sed 's/^.*[ ]\([0-9.]*[a-z]*\).*$/\1/'` - if compare_versions $vc_min_version $vc_actual_version; then - echo "found $vc_actual_version"