#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by bill-macports.org@bfccomputing.com): libmpeg2convert's ld flags get picked up by pkg-config and libmpeg2convert is required to build. This port doesn't depend on pkgconfig and if configure picks up a non-ports pkg-config, that one won't know about the ports configs directory, so it never gets added to LIBMPEG2_EXTRA_FLAGS and thus never included in LIBMPEG2_FLAGS. This patch fixes the problem on a Mini/PPC, 10.4.11: {{{ --- /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile~ 2008-08-10 16:13:02.000000000 -0400 +++ /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile 2008-08-10 16:13:30.000000000 -0400 @@ -37,6 +37,7 @@ depends_lib port:automake \ port:autoconf \ port:libtool \ + port:pkgconfig \ port:ffmpeg \ port:libmpeg2 \ port:libdvdread \ }}} I suspect it wouldn't be OS or architecture dependent. -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS