26.04.2012 12:08, Mikle Krutov написал:
Hello ports@!
So, in my Makefile of graphics/zathura I have: OPTIONS= POPPLERPDF "Poppler PDF Viewer Plugin" On \ MUPDF "MuPDF Viewer Plugin" Off And, slightly later: .if defined (WITH_POPPLERPDF) RUN_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/zathura-pdf-poppler .endif .if defined (WITH_MUPDF) RUN_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/zathura-pdf-mupdf .endif (All the ports in attached shar archive) While it works OK on writing options I choose (in /var/db/ports/zathura), it does not work for actual compiling of the plugins: ports system just does nothing after zathura installation. What am I doing wrong?
1. Use actual file instead of ${NONEXISTENT} and the dependency will be tracked. 2. Use "+=" instead plain "=" to _add_ a dependency.
I've talked the situation over with MAINTAINER, and he recommends just to have an echo with 'You have to install blah-blah-blah' in post-install, which I do not like.
-- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"