ports/50798: audio/faad does not build

Martin Kaeske Martin.Kaeske at Stud.TU-Ilmenau.DE
Mon Apr 14 15:20:18 UTC 2003


The following reply was made to PR ports/50798; it has been noted by GNATS.

From: Martin Kaeske <Martin.Kaeske at Stud.TU-Ilmenau.DE>
To: Dan Naumov <dan.naumov at ofw.fi>
Cc: freebsd-gnats-submit at freebsd.org, sean at sfarc.net
Subject: Re: ports/50798: audio/faad does not build
Date: Mon, 14 Apr 2003 17:14:17 +0200

 On Mon, Apr 14, 2003 at 03:09:22PM +0300, Dan Naumov wrote:
 > With no automake 1.5 installed, this is what happens:
 [SNIP] 
 > localhost# make install clean
 > ===>  Extracting for faad2-1.1
 > >> Checksum OK for faad2-1.1.tar.gz.
 > ===>  Patching for faad2-1.1
 > ===>  Applying FreeBSD patches for faad2-1.1
 > aclocal: not found
 > *** Error code 127
 > 
 > Stop in /usr/ports/audio/faad.
 > ===================================
 
 I think i found the solution. audio/faad uses aclocal during the
 post-patch target. If you use "USE_AUTOMAKE_VER" the appropriate
 port is added to the variable BUILD_DEPENDS (devel/automake in our
 case) but the build-depends are checked _after_ "make patch"
 (build-depends are actually part of the configure target).
 The reason why it worked for me was that i did "make patch" before
 deinstalling automake-1.5, because i thought it would be a configure
 problem.
 
 So the solution is to add "automake" to faad's PATCH_DEPENDS or to
 add "automake" to PATCH_DEPENDS in bsd.port.mk. I prefer the former
 because i often want to just look at the source of a tool without
 compiling any "unnecessary" dependencies.
 
 The only other port that has the same problem is www/tidy-devel (if
 compiled with -DWITH_SHLIB).
 
 Martin
 
 
 PS: i make a CC for the maintainer to let him know about the
     problem
 -- 
 "At the beginning of the week, we sealed ten BSD programmers into a
  computer room with a single distribution of BSD Unix. Upon opening
  the room after seven days, we found all ten programmers dead,
  clutching each others throats, and thirteen new flavors of BSD."



More information about the freebsd-ports-bugs mailing list