I am writing a package for the nightly build of ffmpeg. The problem is that
in a post-extract stage, can't cd to ${WRKDIR}. This is the error message:
$ make configure
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in ffmpeg-snapshot-20061211
=> Checksum SHA1 OK for ffmpeg-export-snapshot.tar.bz2
=> Checksum RMD160 OK for ffmpeg-export-snapshot.tar.bz2
===> Installing dependencies for ffmpeg-snapshot-20061211
=> Required installed package gmake>=3.78: gmake-3.81 found
===> Overriding tools for ffmpeg-snapshot-20061211
===> Extracting for ffmpeg-snapshot-20061211
cd
/home/src/pkgsrc/wip/ffmpeg-snapshot.import/work.core/ffmpeg-export-2006-12-11
make: exec(cd) failed (No such file or directory)
*** Error code 1
This is the Makefile; is not finished.
$ cat Makefile
# $NetBSD$
#
DISTNAME= ffmpeg-export-snapshot
PKGNAME= ffmpeg-snapshot-${VERSION}
CATEGORIES= multimedia
MASTER_SITES= http://ffmpeg.mplayerhq.hu/
EXTRACT_SUFX= .tar.bz2
.include "../../mk/bsd.prefs.mk"
VERSION!= ${DATE} +%Y%m%d
DATEDIR!= ${DATE} +%Y-%m-%d
MAINTAINER= ccatrian%eml.cc@localhost
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Nightly snapshot of the ffmpeg tool
WRKSRC= ${WRKDIR}/ffmpeg-export-${DATEDIR}
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-memalign-hack
CONFIGURE_ARGS+= --cpu=i686
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
post-extract:
cd ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
Please help.
--
César Catrián Carreño
Attachment:
pgpt2hyEw8sop.pgp
Description: PGP signature