Date: Tue, 12 May 2009 13:48:19 +0300 From: Toni Gundogdu <legatvs@gmail.com> To: freebsd-ports@freebsd.org Subject: multimedia/cclive: p5-HTML-Parser issue Message-ID: <fdbb7daf0905120348x5e68535cw9ee798560cee1e96@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, I am the maintainer of the port multimedia/cclive and I am trying to find a fix to a dependency issue. * I have enabled WITH_PERL via OPTIONS * p5-HTML-Parser has not been installed Excerpt from the Makefile: .include <bsd.port.pre.mk> .if defined(WITH_PERL) CONFIGURE_ARGS+=--with-perl USE_PERL5= 5.8.2+ RUN_DEPENDS+= p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser .endif ... If I run "make install": ===> Found saved configuration for cclive-0.4.2 ===> Extracting for cclive-0.4.2 => MD5 Checksum OK for cclive-0.4.2.tar.bz2. => SHA256 Checksum OK for cclive-0.4.2.tar.bz2. ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> Patching for cclive-0.4.2 ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> cclive-0.4.2 depends on executable: pkg-config - found ===> cclive-0.4.2 depends on shared library: curl.5 - found ===> Configuring for cclive-0.4.2 ... checking for perl... /usr/bin/perl checking for HTML::TokeParser... configure: error: HTML::TokeParser module is required ===> Script "configure" failed unexpectedly. ... The RUN_DEPENDS line seems to be ignored. Whereas "make depends": ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> cclive-0.4.2 depends on shared library: curl.5 - found ===> cclive-0.4.2 depends on file: /usr/local/bin/perl5.10.0 - found ===> cclive-0.4.2 depends on executable: pkg-config - found ===> cclive-0.4.2 depends on package: p5-HTML-Parser>=3.59 - not found ===> Verifying install for p5-HTML-Parser>=3.59 in /usr/ports/www/p5-HTML-Parser ===> Extracting for p5-HTML-Parser-3.60 ... Fetches the p5-HTML-Parser port and installs it as expected. As far as I can tell, the examples in the Porters Handbook use a similar approach with OPTIONS and RUN_DEPENDS, so any idea why the dependency checking fails with "make install"? Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoJUzgACgkQqNe1VCB8oJpI5QCfcPzQNt9dhhR6Wb6YrfFADjtV 3fMAnRpLFf+bjsixuV3NvsfsVqrgPBXP =Iupu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fdbb7daf0905120348x5e68535cw9ee798560cee1e96>