From owner-freebsd-tcltk@freebsd.org Mon Apr 18 12:22:23 2016 Return-Path: Delivered-To: freebsd-tcltk@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2A6FB1218C for ; Mon, 18 Apr 2016 12:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id DDC6A12DA for ; Mon, 18 Apr 2016 12:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DD1BAB1218B; Mon, 18 Apr 2016 12:22:23 +0000 (UTC) Delivered-To: tcltk@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCC23B1218A for ; Mon, 18 Apr 2016 12:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD3DA12D9 for ; Mon, 18 Apr 2016 12:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3ICMNFU018645 for ; Mon, 18 Apr 2016 12:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: tcltk@FreeBSD.org Subject: [Bug 208874] devel/tclxml not PREFIX-safe Date: Mon, 18 Apr 2016 12:22:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tcltk@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 12:22:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208874 --- Comment #2 from Mikhail Teterin --- The committed patch overdoes it. The --prefix part is added to CONFIGURE_AR= GS automatically, no need for the port to do it. Now it is listed twice: % make -V CONFIGURE_ARGS --prefix=3D/opt --exec-prefix=3D/opt --with-tcl=3D/opt/lib/tcl8.6=20 XML_CONFIG=3D"/opt/bin/xml2-config" --prefix=3D/opt ${_LATE_CONFIGURE_ARGS} And the --exec-prefix is, probably, simply not needed in this case. I would suggest removing the newly-introduced settings: USE_LDCONFIG?=3D ${PREFIX}/lib/Tclxml${PORTVERSION} -CONFIGURE_ARGS=3D --prefix=3D${PREFIX} \ - --exec-prefix=3D${PREFIX} \ - --with-tcl=3D${TCL_LIBDIR} \ +CONFIGURE_ARGS=3D --with-tcl=3D${TCL_LIBDIR} \ XML_CONFIG=3D"${XML_CONFIG}" Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=