From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 10 Sep 2019 12:55:48 +0200 Subject: [Buildroot] [PATCH v2] package/nfs-utils: enable IPv6 if libtirpc is selected In-Reply-To: References: <6a13e0d0-9beb-99f0-436d-5a9d6fd7feb5@mind.be> <20190909235607.31990-1-unixmania@gmail.com> <9c8666a8-6dc4-8747-7580-588eb574f52e@mind.be> Message-ID: <20190910125548.64acb272@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Tue, 10 Sep 2019 07:29:39 -0300 Carlos Santos wrote: > > > ifeq ($(BR2_PACKAGE_LIBTIRPC),y) > > > -NFS_UTILS_CONF_OPTS += --enable-tirpc > > > +NFS_UTILS_CONF_OPTS += --enable-tirpc --enable-ipv6 > > > NFS_UTILS_DEPENDENCIES += libtirpc > > > else > > > -NFS_UTILS_CONF_OPTS += --disable-tirpc > > > +NFS_UTILS_CONF_OPTS += --disable-tirpc --disable-ipv6 > > > endif > > > > > > define NFS_UTILS_INSTALL_FIXUP > > > > > 2019-09-10T07:22:05 configure: error: '--enable-ipv6' requires TIRPC support. How come this happens ? We only pass --enable-ipv6 when TIRPC is available. > Quite frankly this is a foolish discussion since nfs-utils selects > rpcbind which in its turn selects libtirpc. Anyway, your project, your > rules... Ah, but I didn't realize that and you never mentioned it so far I believe. Indeed, it even makes the current libtirpc condition in nfs-utils.mk completely useless. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com