The more recent octave-forge-* ports don't pkg_install from their packages. This seems to be a problem that the octave forge packagng process is expecting gnu-make. Fix: 25a26 > RUN_DEPENDS+= gmake:${PORTSDIR}/devel/gmake 42c43 < @${ECHO_CMD} "@exec octave -H -q --no-site-file --eval \"pkg('install','${LOCALBASE}/share/octave/tarballs/${DISTNAME}.tar.gz')\" > /dev/null" >> ${TMPPLIST} --- > @${ECHO_CMD} "@exec env MAKE=gmake octave -H -q --no-site-file --eval \"pkg('install','${LOCALBASE}/share/octave/tarballs/${DISTNAME}.tar.gz')\" > /dev/null" >> ${TMPPLIST}
Which port or ports does this patch apply to? mcl
Mark Linimon wrote: > Which port or ports does this patch apply to? > > mcl I didn't make a complete list of ports this applies to. But octave-forge-specfun is an example of a port that is fixed by this patch. Do make install package; make deinstall; pkg_add octave-forge-specfun*.tar.bz2 should show the difficulty.
Mark Linimon wrote: > Which port or ports does this patch apply to? > > mcl OK, my mistake - to reproduce this error do the following: cd /usr/ports/math/octave-forge-specfun make install package pkg_delete gmake-3.81_4 (or whatever version you have installed) pkg_add octave-forge-specfun-1.0.9.tbz In other words, pkg_add requires the presence of gmake for this port to be installed as a package.
Actually, it seems that all that is needed to fix this bug is to add the line: RUN_DEPENDS+= gmake:${PORTSDIR}/devel/gmake to the file ports/Mk/bsd.octave.mk (Looking at the original submission, it seems that I omitted the name of the file that needs to be patched! I'll try to resubmit a proper patch later today.)
Here is the patch done properly. As I said, it is necessary for gmake to be a RUNS_DEPENDS for the octave-forge ports. Without this, the packages will not install correctly.
State Changed From-To: open->closed Committed. Thanks!
miwi 2011-03-17 17:14:09 UTC FreeBSD ports repository Modified files: Mk bsd.octave.mk Log: - Add gmake as RUN_DEP PR: 148234 Submitted by: Stephen Montgomery-Smith <stephen@missouri.edu> (maintainer) Revision Changes Path 1.11 +3 -2 ports/Mk/bsd.octave.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"