minor bug in x11/xterm Makefile
Emanuel Haupt
ehaupt at FreeBSD.org
Sat Jul 28 11:48:11 UTC 2012
Curtis Villamizar <curtis at occnc.com> wrote:
>
> FYI-
>
> If PCRE is enabled in the x11/xterm port on a FreeBSD 8 (or earlier)
> platform, the LIB_DEPEND variable is overwritten. The make fails in
> the configure step with -lpcre not found.
>
> PCRE support in x11/xterm need this:
>
> .if defined(WITH_PCRE)
> CONFIGURE_ARGS+= --with-pcre
> LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre
> .endif
>
> The LIB_DEPENDS is overwritten by this:
>
> .if ${OSVERSION} < 900004
> LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
> .endif
>
> It looks to me like that might have wanted to be a += rather than =
> but I'm not sure the intent.
Good catch. I've just fixed the LIB_DEPENDS statement.
Emanuel
>
> The workaround is '( cd ../../devel/pcre ; make install )', then
> compile the x11/xterm port.
>
> The port maintainer is on the Cc. No bug report was filed.
>
> Curtis
>
More information about the freebsd-x11
mailing list