Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2010 17:45:18 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146330: [patch] net-p2p/transmission-cli: prevent automake run
Message-ID:  <86vdb2laxd.fsf@gmail.com>
Resent-Message-ID: <201005051350.o45Do102083461@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146330
>Category:       ports
>Synopsis:       [patch] net-p2p/transmission-cli: prevent automake run
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 05 13:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vdb2laxd.fsf>