minor bug in x11/xterm Makefile

Curtis Villamizar curtis at occnc.com
Fri Jul 27 13:44:53 UTC 2012


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.

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