Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 12:22:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        tcltk@FreeBSD.org
Subject:   [Bug 208874] devel/tclxml not PREFIX-safe
Message-ID:  <bug-208874-30738-qU3HoeymxZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208874-30738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208874-30738@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208874

--- Comment #2 from Mikhail Teterin <mi@FreeBSD.org> ---
The committed patch overdoes it. The --prefix part is added to CONFIGURE_ARGS
automatically, no need for the port to do it. Now it is listed twice:

% make -V CONFIGURE_ARGS
--prefix=/opt  --exec-prefix=/opt  --with-tcl=/opt/lib/tcl8.6 
XML_CONFIG="/opt/bin/xml2-config" --prefix=/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?= ${PREFIX}/lib/Tclxml${PORTVERSION}
-CONFIGURE_ARGS=        --prefix=${PREFIX} \
-               --exec-prefix=${PREFIX} \
-               --with-tcl=${TCL_LIBDIR} \
+CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
                XML_CONFIG="${XML_CONFIG}"

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208874-30738-qU3HoeymxZ>