Date: Sun, 8 Jul 2007 10:25:07 GMT From: Roman Bogorodskiy <novel@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114401: [ patch ] multimedia/libdvdnav: fix build with installed automake Message-ID: <200707081025.l68AP7sR017960@freefall.freebsd.org> Resent-Message-ID: <200707081030.l68AU5r3018123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114401 >Category: ports >Synopsis: [ patch ] multimedia/libdvdnav: fix build with installed automake >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 08 10:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: multimedia/libdvdnav fails to build when automake is installed: ===> Building for libdvdnav-0.1.10_2 cd . && automake19 --gnu Makefile configure.ac:74: version mismatch. This is Automake 1.9.6, configure.ac:74: but the definition used by this AM_INIT_AUTOMAKE configure.ac:74: comes from Automake 1.6.3. You should recreate configure.ac:74: aclocal.m4 with aclocal and run automake again. *** Error code 63 Stop in /usr/ports/multimedia/libdvdnav/work/libdvdnav-0.1.10. *** Error code 1 Stop in /usr/ports/multimedia/libdvdnav. >How-To-Repeat: cd /usr/ports/devel/automake19 make install clean cd /usr/ports/multimedia/libdvdnav make install clean >Fix: --- libdvdnav_automake.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/libdvdnav/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- Makefile 5 Apr 2007 06:03:21 -0000 1.23 +++ Makefile 8 Jul 2007 10:18:04 -0000 @@ -32,4 +32,8 @@ ${WRKSRC}/configure ${WRKSRC}/configure.ac \ ${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh +post-configure: + ${REINPLACE_CMD} -e 's|automake[0-9][0-9]|${TRUE}|' \ + `${FIND} ${WRKSRC} -type f -name Makefile` + .include <bsd.port.mk> --- libdvdnav_automake.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?200707081025.l68AP7sR017960>