Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 21:05:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        tcltk@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 208874] devel/tclxml not PREFIX-safe
Message-ID:  <bug-208874-30738-vJLSTQX8wS@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
Mikhail Teterin <mi@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to tcltk@FreeBSD.o=
rg:
Bug 208874: devel/tclxml not PREFIX-safe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208874



--- Description ---
Created attachment 169411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169411&action=
=3Dedit
Replace /usr/local with ${PREFIX} and only build documentation, if needed

The problem is obvious and the patch is trivial, but without it the newly-b=
uilt
code fails to find itself under ${STAGEDIR} and can not generate its own
documentation:

-MAKE_ENV+=3D	TCLLIBPATH=3D${STAGEDIR}/usr/local/lib
+MAKE_ENV+=3D	TCLLIBPATH=3D${STAGEDIR}/${PREFIX}/lib

The second hunk in the patch stops generating the (useless) PORTDOCS, when =
docs
are disabled.

The port fails numerous self-tests after building -- this patch does not
address that problem.



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