diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-03 13:01:51 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-03 13:01:51 +0800 |
commit | b5699379507760e4489c65c48cbdc7c6421bd3b4 (patch) | |
tree | dcff9b8ac81918f4287739be94e7d92ae0942d3a /editors/AbiWord2/files/patch-autogen.sh | |
parent | cb7febd0d1147cd307db61ab4ef8fdd46ca87239 (diff) | |
download | marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar.gz marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar.bz2 marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar.lz marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar.xz marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.tar.zst marcuscom-ports-b5699379507760e4489c65c48cbdc7c6421bd3b4.zip |
add AbiWord2-2.1.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1583 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/AbiWord2/files/patch-autogen.sh')
-rw-r--r-- | editors/AbiWord2/files/patch-autogen.sh | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/editors/AbiWord2/files/patch-autogen.sh b/editors/AbiWord2/files/patch-autogen.sh new file mode 100644 index 000000000..699048775 --- /dev/null +++ b/editors/AbiWord2/files/patch-autogen.sh @@ -0,0 +1,55 @@ +--- autogen.sh.orig Mon Oct 6 04:00:53 2003 ++++ autogen.sh Fri Oct 31 16:07:18 2003 +@@ -10,7 +10,7 @@ + + rm -f autogen.err + +-automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' ++%%AUTOMAKE%% --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' + + if [ $? -ne 0 ]; then + echo "Error: you need automake 1.4 or later. Please upgrade." +@@ -19,17 +19,17 @@ + + # Produce aclocal.m4, so autoconf gets the automake macros it needs + # +-echo "Creating aclocal.m4: aclocal -I ac-helpers $ACLOCAL_FLAGS" ++echo "Creating aclocal.m4: %%ACLOCAL%% -I ac-helpers $ACLOCAL_FLAGS" + +-aclocal -I ac-helpers $ACLOCAL_FLAGS 2>> autogen.err ++%%ACLOCAL%% -I ac-helpers $ACLOCAL_FLAGS 2>> autogen.err + + echo "Checking for PKG_CHECK_MODULES..." + + pkgcheckdef=`grep PKG_CHECK_MODULES aclocal.m4 | grep AC_DEFUN` + if test "x$pkgcheckdef" = "x"; then +- echo "Running aclocal -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS" +- (aclocal -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS 2>> autogen.err) || { +- echo "aclocal failed! Unable to continue." ++ echo "Running %%ACLOCAL%% -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS" ++ (%%ACLOCAL%% -I ac-helpers -I ac-helpers/pkg-config $ACLOCAL_FLAGS 2>> autogen.err) || { ++ echo "%%ACLOCAL%% failed! Unable to continue." + exit 1 + } + pkgcheckdef=`grep PKG_CHECK_MODULES aclocal.m4 | grep AC_DEFUN` +@@ -51,9 +51,9 @@ + # Produce all the `GNUmakefile.in's and create neat missing things + # like `install-sh', etc. + # +-echo "automake --add-missing --copy --foreign" ++echo "%%AUTOMAKE%% --add-missing --copy --foreign" + +-automake --add-missing --copy --foreign 2>> autogen.err || { ++%%AUTOMAKE%% --add-missing --copy --foreign 2>> autogen.err || { + echo "" + echo "* * * warning: possible errors while running automake - check autogen.err" + echo "" +@@ -69,7 +69,7 @@ + # + echo "Creating configure..." + +-autoconf 2>> autogen.err || { ++%%AUTOCONF%% 2>> autogen.err || { + echo "" + echo "* * * warning: possible errors while running automake - check autogen.err" + echo "" |