[Bug 208874] devel/tclxml not PREFIX-safe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 18 12:22:24 UTC 2016


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

--- Comment #2 from Mikhail Teterin <mi at 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.


More information about the freebsd-tcltk mailing list