Date: Fri, 04 Sep 2015 17:22:13 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Chris Inacio <nacho319@gmail.com>, ports@freebsd.org Subject: Re: Can't get _IMPLIES to work Message-ID: <6B448EF67F45AEF935C642D9@ogg.in.absolight.net> In-Reply-To: <CAG_PEezcqzqWZ8pvdSqUc1xzrPPHf6tsausuAFqtrxFCLwRZEA@mail.gmail.com> References: <CAG_PEezcqzqWZ8pvdSqUc1xzrPPHf6tsausuAFqtrxFCLwRZEA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========DDA4ECBB031E89F5BC10========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, +--On 3 septembre 2015 12:52:56 -0400 Chris Inacio <nacho319@gmail.com> wrote: | I'm having trouble getting the <option>_IMPLIES to function correctly. I | have been trying to improve a port and add more of the options available | in the underlying package into the ports/pkg system. | | Basically, as a smoke test I attempt to enable "NONIP" without selecting | "MPLS". NONIP requires MPLS to function. I think I've covered this in | the NONIP_IMPLIES, but I get configure errors stating that MPLS must be | enabled. | | Here is the Makefile snippet, I've tried a bit of reordering and | including/removing/moving the ".include <bsd.port.options.mk>" Could you provide a full Makefile, or a patch to a port, so that I can test ? For example, using astro/osmium, I can test that IMPLIES works correctly, it has DOXYGEN_IMPLIES=DOCS, and: $ make -V PLIST_SUB:MPORTDOCS* PORTDOCS="" $ make -V PLIST_SUB:MPORTDOCS* WITHOUT=DOCS PORTDOCS="@comment " $ make -V PLIST_SUB:MPORTDOCS* WITHOUT=DOCS WITH=DOXYGEN PORTDOCS="" DOCS is re-activated by WITH=DOXYGEN. Or audio/alsa-plugin that has JACK_IMPLIES=SAMPLERATE: $ make -VCONFIGURE_ARGS:M*jack* -V CONFIGURE_ARGS:M*samplerate* --disable-jack --disable-samplerate $ make -VCONFIGURE_ARGS:M*jack* -V CONFIGURE_ARGS:M*samplerate* WITH=SAMPLERATE --disable-jack --enable-samplerate $ make -VCONFIGURE_ARGS:M*jack* -V CONFIGURE_ARGS:M*samplerate* WITH=JACK --enable-jack --enable-samplerate Activating jack also activates samplerate. So, it seems to work correctly for me. Does it not for you ? -- Mathieu Arnold --==========DDA4ECBB031E89F5BC10========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJV6bcnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85ICdsP/jWarZSgxOWjHhNCNztOXFfE EAqVNlw1LmtQOGrdTkAwIP8J8L6F67ULVp8zTgDSpARlBSLk95WCOyKez6akW2ZA ltd+nRdecwAETQhAbRetftypYNkGERraF6ATLgnzJPua694d79+HnV9uOhvyFxYO Zi4In/+EE0RlvgYXOxjZtiK93gJYl/uXSZNrtMBTwVP3komZbHmjaA0+9YdkM0JP 6lC0nlnR3P9TaUrsctotTRq/fY6Z/og1lMb1Fs/rsrr10PdIKT+xwdYosEkIojUm 6JRhHQllbkXI0Zxr7c/UlP7ccmu060LxjjcPMLMXnvGESMh9Hw9ckmfUMFwTXDjR mN/IJLEztunCrbv3iWmaUqc3LrhmPbaHju2FXIMe8loFkwjk1xsQC+Cp22uQ76zE y5bwPo4WXZE1kFlebDQGfBHmZfdqEAHewo8Oo6rk8xCaWhhxLOZXCmePH+u3g50N fb8J1wm42ZYlvhA/d1NQSh5wwA7teBnkP3qkILYDyAy7bE2/PGPxZizL/Z+xcedm MQ7mdbth9CDty7WGWTy703vUyIq/Ia7+79llVqin2yjUTpbZTT7fhPTIHmiQrzAB vCsLcqaWT9Pj4EWi60EwZSIiYaVtPmEo/jdHeRboCF0O0/VncczdYY5/UbM3u+bA 0nxs+CuDsF/63nN9mDC4 =KUJI -----END PGP SIGNATURE----- --==========DDA4ECBB031E89F5BC10==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B448EF67F45AEF935C642D9>