sys-devel/autogen: fix use of hardcoded /tmp paths during build #563352

This commit is contained in:
Mike Frysinger
2015-11-23 06:26:29 -05:00
parent 550cc50e0e
commit d2e0d720fd
2 changed files with 21 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ RDEPEND=">=dev-scheme/guile-1.8
dev-libs/libxml2"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.18.4-tmp-log.patch #563352
}
src_configure() {
# suppress possibly incorrect -R flag
export ag_cv_test_ldflags=

View File

@@ -0,0 +1,17 @@
https://bugs.gentoo.org/563352
https://sourceforge.net/p/autogen/bugs/172/
this is fixed upstream in commit f303a1d5d8d8e002974eb64818f74041325f2433
--- a/pkg/libopts/mklibsrc.sh
+++ b/pkg/libopts/mklibsrc.sh
@@ -18,8 +18,7 @@
## You should have received a copy of the GNU General Public License along
## with this program. If not, see <http://www.gnu.org/licenses/>.
-set -ex
-exec 2> /tmp/mklibsrc-log.tx
+set -e
top_builddir=`cd $top_builddir ; pwd`
top_srcdir=`cd $top_srcdir ; pwd`