Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 09:44:47 -0400
From:      Curtis Villamizar <curtis@occnc.com>
To:        freebsd-x11@freebsd.org
Cc:        ehaupt@freebsd.org, curtis@occnc.com
Subject:   minor bug in x11/xterm Makefile
Message-ID:  <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207271344.q6RDilBg068833>