Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2012 13:48:09 +0200
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        curtis@occnc.com
Cc:        freebsd-x11@FreeBSD.org, ehaupt@FreeBSD.org
Subject:   Re: minor bug in x11/xterm Makefile
Message-ID:  <20120728134809.fbc47171b634b5703443c01f@FreeBSD.org>
In-Reply-To: <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com>
References:  <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Curtis Villamizar <curtis@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
> 



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