summaryrefslogtreecommitdiff
path: root/textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2005-02-28 04:17:02 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2005-02-28 04:17:02 +0000
commit806320585f11517fb0170fe185bbab72146f4afb (patch)
tree27b00b83610d0ff124cac329890239f6ba0a95f2 /textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh
parentBROKEN on 5.x: Install fails (diff)
IIIMF-related ports: Update to r12_1-svn2002 and bug fixes
PR: ports/77927 Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Approved by: maintainer Pointed out by: ume, nork, hrs
Diffstat (limited to 'textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh')
-rw-r--r--textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh72
1 files changed, 72 insertions, 0 deletions
diff --git a/textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh b/textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh
new file mode 100644
index 000000000000..cee0709c90ed
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-lib_EIMIL_autogen.sh
@@ -0,0 +1,72 @@
+--- lib/EIMIL/autogen.sh Wed May 5 02:15:22 2004
++++ lib/EIMIL/autogen.sh Wed Feb 16 14:57:02 2005
+@@ -12,7 +12,14 @@
+
+ DIE=0
+
+-(libtool --version) < /dev/null > /dev/null 2>&1 || {
++LIBTOOL=libtool15
++INTLTOOLIZE=intltoolize15
++ACLOCAL=aclocal15
++AUTOHEADER=autoheader253
++AUTOMAKE=automake15
++AUTOCONF=autoconf253
++
++(${LIBTOOL} --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have libtool installed to compile $PROJECT."
+ echo "Install the appropriate package for your distribution,"
+@@ -30,7 +37,7 @@
+ }
+
+ (grep "^AC_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && {
+- (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
++ (${INTLTOOLIZE} --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`intltoolize' installed to compile $PKG_NAME."
+ echo "Get ftp://ftp.gnome.org/pub/GNOME/stable/sources/intltool/intltool-0.10.tar.gz"
+@@ -39,7 +46,7 @@
+ }
+ }
+
+-(autoconf --version) < /dev/null > /dev/null 2>&1 || {
++(${AUTOCONF} --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have autoconf installed to compile $PROJECT."
+ echo "libtool the appropriate package for your distribution,"
+@@ -48,8 +55,8 @@
+ }
+
+ have_automake=false
+-if automake --version < /dev/null > /dev/null 2>&1 ; then
+- automake_version=`automake --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'`
++if ${AUTOMAKE} --version < /dev/null > /dev/null 2>&1 ; then
++ automake_version=`${AUTOMAKE} --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'`
+ case $automake_version in
+ 1.2*|1.3*|1.4)
+ ;;
+@@ -96,19 +103,19 @@
+ fi
+ if grep "^AC_PROG_INTLTOOL" configure.ac >/dev/null; then
+ echo "Running intltoolize..."
+- intltoolize --copy --force --automake
++ ${INTLTOOLIZE} --copy --force --automake
+ fi
+
+ # intentionally we don't call "libtoolize --force"
+ # to avoid overriding ../../acfiles/ltmain.h, which we don't want to happen!
+
+-aclocal -I ../../acfiles $ACLOCAL_FLAGS
++${ACLOCAL} -I ../../acfiles $ACLOCAL_FLAGS
+
+ # optionally feature autoheader
+-(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
++(${AUTOHEADER} --version) < /dev/null > /dev/null 2>&1 && ${AUTOHEADER}
+
+-automake -a $am_opt
+-autoconf
++${AUTOMAKE} -a $am_opt
++${AUTOCONF}
+ cd $ORIGDIR
+
+ if test -z "$AUTOGEN_SUBDIR_MODE"; then