From ttsestt@gmail.com  Mon Jul 25 20:31:52 2011
Return-Path: <ttsestt@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3367E106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Jul 2011 20:31:52 +0000 (UTC)
	(envelope-from ttsestt@gmail.com)
Received: from mail-ey0-f194.google.com (mail-ey0-f194.google.com [209.85.215.194])
	by mx1.freebsd.org (Postfix) with ESMTP id C17E28FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Jul 2011 20:31:51 +0000 (UTC)
Received: by eya28 with SMTP id 28so748102eya.5
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Jul 2011 13:31:50 -0700 (PDT)
Received: by 10.223.145.22 with SMTP id b22mr6878583fav.95.1311625127564;
        Mon, 25 Jul 2011 13:18:47 -0700 (PDT)
Received: from localhost ([87.236.194.158])
        by mx.google.com with ESMTPS id h9sm3991437faa.39.2011.07.25.13.18.46
        (version=SSLv3 cipher=OTHER);
        Mon, 25 Jul 2011 13:18:47 -0700 (PDT)
Message-Id: <867h76gllq.fsf@gmail.com>
Date: Tue, 26 Jul 2011 00:18:41 +0400
From: Test Rat <ttsestt@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] multimedia/libvpx: assumes gcc for ${LD}

>Number:         159193
>Category:       ports
>Synopsis:       [patch] multimedia/libvpx: assumes gcc for ${LD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ashish
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 25 20:40:08 UTC 2011
>Closed-Date:    Mon Sep 19 15:46:11 UTC 2011
>Last-Modified:  Mon Sep 19 15:46:11 UTC 2011
>Originator:     Pan Tsu
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
$ export PATH=~/.bin:$PATH
$ for cc in CC cc c++ gcc g++; do ln -s /usr/bin/false ~/.bin/${cc}; done
>Description:
>How-To-Repeat:
$ make CC=clang
$ tail -1 $(make -V WRKSRC)/config.err
gcc -m64 -o /tmp/vpx-conf-...
>Fix:
--- a.diff begins here ---
Index: multimedia/libvpx/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- multimedia/libvpx/Makefile	3 May 2011 17:29:46 -0000	1.5
+++ multimedia/libvpx/Makefile	25 Jul 2011 20:04:12 -0000
@@ -76,6 +76,8 @@ IGNORE=	no support for ${ARCH} the momen
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
+		${WRKSRC}/build/make/configure.sh
 	@${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
 		-e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,g'
 .if ${OSVERSION} < 700000
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ashish 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 25 20:40:18 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159193 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159193: commit references a PR
Date: Mon, 19 Sep 2011 15:36:19 +0000 (UTC)

 ashish      2011-09-19 15:36:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/libvpx    Makefile distinfo pkg-plist 
   Added files:
     multimedia/libvpx/files patch-libs.mk 
   Log:
   - Update to 0.9.7-p1[1]
   - Disable installing documentation due to incompatibility with doxygen[2]
   - Enable support for PowerPC architectures[3]
   - Fix port to not assume GCC for ${LD}[4]
   
   PR:             ports/155937[2], ports/152890[3], ports/159193[4]
   Submitted by:   Francisco de Borja Lopez Rio <borja@codigo23.net>[1] (via private email)
                   Peter Jeremy <peterjeremy@acm.org>[2]
                   Jason Bacon <jwbacon@tds.net>[3]
                   Test Rat <ttsestt@gmail.com>[4]
   
   Revision  Changes    Path
   1.6       +9 -3      ports/multimedia/libvpx/Makefile
   1.4       +2 -2      ports/multimedia/libvpx/distinfo
   1.1       +16 -0     ports/multimedia/libvpx/files/patch-libs.mk (new)
   1.5       +2 -1      ports/multimedia/libvpx/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ashish 
State-Changed-When: Mon Sep 19 15:46:09 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159193 
>Unformatted:
