From owner-freebsd-x11@FreeBSD.ORG Fri Jul 27 13:44:53 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 A9B60106564A; Fri, 27 Jul 2012 13:44:53 +0000 (UTC) (envelope-from curtis@occnc.com) Received: from gateway.ipv6.occnc.com (gateway.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:132]) by mx1.freebsd.org (Postfix) with ESMTP id 65DEA8FC12; Fri, 27 Jul 2012 13:44:53 +0000 (UTC) Received: from newharbor.ipv6.occnc.com (newharbor.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:320]) (authenticated bits=0) by gateway.ipv6.occnc.com (8.14.5/8.14.5) with ESMTP id q6RDilBg068833; Fri, 27 Jul 2012 06:44:48 -0700 (PDT) (envelope-from curtis@occnc.com) Message-Id: <201207271344.q6RDilBg068833@gateway.ipv6.occnc.com> To: freebsd-x11@freebsd.org From: Curtis Villamizar Date: Fri, 27 Jul 2012 09:44:47 -0400 Cc: ehaupt@freebsd.org, curtis@occnc.com Subject: minor bug in x11/xterm Makefile X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: curtis@occnc.com List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 13:44:53 -0000 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