Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2019 13:32:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234833] USES=autoreconf fails if a port uses gettext but user disables NLS port option
Message-ID:  <bug-234833-7788-oLBlKdOCu3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234833-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234833-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234833

--- Comment #18 from Tijl Coosemans <tijl@FreeBSD.org> ---
In make syntax it's not easy to scan configure.ac and then modify
BUILD_DEPENDS, so I would say it's not feasible to fix the framework.  In p=
orts
like fetchmail you really should just use:

USES=3Dautoreconf gettext-tools
NLS_USES=3Dgettext-runtime

That's easier for you to maintain and easier for me as autotools maintainer=
.=20
In a way, disabling the NLS option does not mean without gettext, it means
without natural language support.  It's perhaps unfortunate that it may sti=
ll
need gettext, but so be it.  As a build dependency it's not a big deal imho=
.=20
It would be different if it was a run dependency.

Autoreconf doesn't just need autopoint by the way, it also needs gettext.m4=
 to
get the definition of the AM_GNU_GETTEXT macro.  Presumably, fetchmail has a
bundled copy of gettext.m4, but that's not something the framework can rely=
 on.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234833-7788-oLBlKdOCu3>