pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/mng Make sure that the AUTOM4TE and AUTOCONF ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5756b3d8023f
branches:  trunk
changeset: 485004:5756b3d8023f
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Dec 02 17:51:19 2004 +0000

description:
Make sure that the AUTOM4TE and AUTOCONF is defined in the environment
because old (or wrong) versions may be used or the tool may be missing
(such as not in path).

When not in path, you may receive errors like:
 sh: autom4te: not found
 aclocal-1.9: autom4te failed with exit status: 1
(noticed under Solaris)

Or if wrong versions are used, you may receive:
 autom4te: unknown language: Autoconf-without-aclocal-m4
 aclocal-1.9: autom4te failed with exit status: 1
(noticed under Mac OS X)

Maybe the correct fix would be to fix the pkgsrc-installed
aclocal and automake scripts so that the autom4te and autoconf
scripts used from within are using the correct path and version
(as also installed from pkgsrc).

diffstat:

 graphics/mng/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 9597f8a09b12 -r 5756b3d8023f graphics/mng/Makefile
--- a/graphics/mng/Makefile     Thu Dec 02 17:42:18 2004 +0000
+++ b/graphics/mng/Makefile     Thu Dec 02 17:51:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/12/02 17:42:18 reed Exp $
+# $NetBSD: Makefile,v 1.20 2004/12/02 17:51:19 reed Exp $
 
 DISTNAME=      libmng-1.0.8
 PKGNAME=       ${DISTNAME:S/lib//}
@@ -30,9 +30,9 @@
        cd ${WRKSRC};                           \
        ${RM} -f configure.in && ${LN} -sf makefiles/configure.in .;    \
        ${RM} -f Makefile.am && ${LN} -sf makefiles/Makefile.am .;      \
-       ${ACLOCAL};                             \
+       ${SETENV} AUTOM4TE=${LOCALBASE}/bin/autom4te ${ACLOCAL};        \
        ${LOCALBASE}/bin/libtoolize --automake; \
-       ${AUTOMAKE} -a --foreign -i;            \
+       ${SETENV} AUTOCONF=${AUTOCONF} ${AUTOMAKE} -a --foreign -i;     \
        ${AUTOCONF}
 
 post-install:



Home | Main Index | Thread Index | Old Index