Thread: ffmpeg
View Single Post
  #7   (View Single Post)  
Old 5th May 2009
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Default

Quote:
Originally Posted by TerryP View Post
Semi-wild ass guess

if the DISTFILE 'faac-1.28.tar.bz2' extracts to faac rather then faac-1.28, then the port will need to set WRKSRC accordingly in the makefile: because it sounds like the tarball is not extracting to the expected work directory.

Maybe try adding WRKSRC=$(WRKDIR)/faac to the Makefile in audio/faac, make clean in that port dir, and try building it again either directly or via ffmpeg dep. If successful, maybe the faac people changed the archive and the portmaintainer for audio/faac didn't notice.
Hello and thanks for reply, where about would i add this line?

Here is the current Makefile

/usr/ports/audio/faac/Makefile
Code:
# New ports collection makefile for:    faac
# Date created:                 Wed May  5 16:38:55 EDT 2004
# Whom:                         Michael Johnson <ahze@ahze.net>
#
# $FreeBSD: ports/audio/faac/Makefile,v 1.35 2009/03/24 16:58:55 mm Exp $
#

PORTNAME=       faac
PORTVERSION=    1.28
CATEGORIES=     audio
MASTER_SITES=   SFE

MAINTAINER=     multimedia@FreeBSD.org
COMMENT=        MPEG-2 and MPEG-4 AAC audio encoder

LIB_DEPENDS=    mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2

RESTRICTED=     Distribution in binary form is prohibited

USE_BZIP2=      yes
USE_DOS2UNIX=   yes
USE_GMAKE=      yes
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS=  aclocal:110 autoheader:262 automake:110 autoconf:262 libtool:15
ACLOCAL_ARGS=   -I . -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=  --add-missing
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib" \
                LIBS="-lmp4v2"
USE_LDCONFIG=   yes

MAN1=           faac.1

.include <bsd.port.pre.mk>

post-patch:
        @${ECHO_CMD} "" >> ${WRKSRC}/libfaac/psych.h

pre-configure:
        @cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake

.include <bsd.port.post.mk>

Cheers
Reply With Quote