From owner-freebsd-x11@FreeBSD.ORG Sat Jul 28 11:48:11 2012 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55A1106564A; Sat, 28 Jul 2012 11:48:11 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mx.critical.ch (cl-8.zrh-02.ch.sixxs.net [IPv6:2001:1620:f00:7::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4CFD58FC12; Sat, 28 Jul 2012 11:48:11 +0000 (UTC) Received: from beaver.home.critical.ch (84-72-7-76.dclient.hispeed.ch [84.72.7.76]) (authenticated bits=0) by mx.critical.ch (8.14.4/8.14.4/critical-1.0) with ESMTP id q6SBm9Gi093206; Sat, 28 Jul 2012 13:48:10 +0200 (CEST) (envelope-from ehaupt@FreeBSD.org) Date: Sat, 28 Jul 2012 13:48:09 +0200 From: Emanuel Haupt To: curtis@occnc.com Message-Id: <20120728134809.fbc47171b634b5703443c01f@FreeBSD.org> In-Reply-To: <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com> References: <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-x11@FreeBSD.org, ehaupt@FreeBSD.org Subject: Re: minor bug in x11/xterm Makefile X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 11:48:11 -0000 Curtis Villamizar 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 >