From swell.k@gmail.com  Wed May  5 13:45:28 2010
Return-Path: <swell.k@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4B2EA1065672
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 May 2010 13:45:28 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227])
	by mx1.freebsd.org (Postfix) with ESMTP id BB4408FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 May 2010 13:45:27 +0000 (UTC)
Received: by bwz27 with SMTP id 27so3269927bwz.13
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 05 May 2010 06:45:21 -0700 (PDT)
Received: by 10.204.175.14 with SMTP id v14mr1103957bkz.72.1273067121663;
        Wed, 05 May 2010 06:45:21 -0700 (PDT)
Received: from localhost (95-25-129-213.broadband.corbina.ru [95.25.129.213])
        by mx.google.com with ESMTPS id 15sm2416645bwz.8.2010.05.05.06.45.20
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 05 May 2010 06:45:20 -0700 (PDT)
Message-Id: <86vdb2laxd.fsf@gmail.com>
Date: Wed, 05 May 2010 17:45:18 +0400
From: Anonymous <swell.k@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] net-p2p/transmission-cli: prevent automake run

>Number:         146330
>Category:       ports
>Synopsis:       [patch] net-p2p/transmission-cli: prevent automake run
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mezz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 05 13:50:01 UTC 2010
>Closed-Date:    Sun May 09 04:40:31 UTC 2010
>Last-Modified:  Sun May 09 04:40:31 UTC 2010
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
transmission 1.93
devel/automake111 installed
>Description:
No need to change .am files if USE_AUTOTOOLS is not used.
>How-To-Repeat:
$ make
...
===>  Building for transmission-cli-1.93
Making all in third-party
gmake[1]: Entering directory `/a/pkgbuild/a/freebsd-ports/net-p2p/transmission-cli/work/transmission-1.93/third-party'
 cd .. && /bin/sh /a/pkgbuild/a/freebsd-ports/net-p2p/transmission-cli/work/transmission-1.93/missing --run automake-1.11 --gnu third-party/Makefile
aclocal.m4:16: warning: this file was generated for autoconf 2.63.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.ac:21: version mismatch.  This is Automake 1.11,
configure.ac:21: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:21: comes from Automake 1.11.1.  You should recreate
configure.ac:21: aclocal.m4 with aclocal and run automake again.
WARNING: `automake-1.11' is probably too old.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd .. && /bin/sh ./config.status third-party/Makefile
config.status: creating third-party/Makefile
gmake[1]: Leaving directory `/a/pkgbuild/a/freebsd-ports/net-p2p/transmission-cli/work/transmission-1.93/third-party'
...
>Fix:
--- a.diff begins here ---
Index: net-p2p/transmission-cli/Makefile
===================================================================
RCS file: /a/.cvsup/ports/net-p2p/transmission-cli/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- net-p2p/transmission-cli/Makefile	3 Apr 2010 10:44:25 -0000	1.66
+++ net-p2p/transmission-cli/Makefile	5 May 2010 13:28:06 -0000
@@ -48,8 +48,8 @@ DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
 
 general-patch:
 	@${REINPLACE_CMD} -e 's|SUBDIRS = . sample.*|SUBDIRS = .|g' \
-		${WRKSRC}/third-party/libevent/Makefile.*
-	@${FIND} ${WRKSRC} -name Makefile.* | ${XARGS} ${REINPLACE_CMD} -e \
+		${WRKSRC}/third-party/libevent/Makefile.in
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g'
 .if ${SLAVEPORT}!="gtk2"
 	@${REINPLACE_CMD} -e '/#define DISABLE_GETTEXT/s,/\* \(.*\) \*/,\1,' \
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mezz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed May 5 13:50:11 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: "Jeremy Messenger" <mezz7@cox.net>
To: bug-followup@freebsd.org, swell.k@gmail.com
Cc:  
Subject: Re: ports/146330: [patch] net-p2p/transmission-cli: prevent automake
 run
Date: Wed, 05 May 2010 22:01:22 -0500

 In the previous version of transmission, I did the patch in configure.ac  
 or .in then ran all of that autotools. It's why I have the Makefile.*.  
 It's a correct patch; it will be included when I update Transmission to  
 1.93 which I am testing now. Will be commit in this weekend if everything  
 goes well.
 
 Cheers,
 Mezz
 
 
 -- 
 mezz7@cox.net  -  mezz@FreeBSD.org
 FreeBSD GNOME Team
 http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Sun May 9 04:40:15 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

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