components/ghostscript/patches/09-ijs.automake.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 178 4340c0d63702
child 7819 b1bca76ec901
permissions -rw-r--r--
Close of build 04.

--- ghostscript-8.64/ijs/Makefile.am.orig	Tue Mar 29 04:38:15 2011
+++ ghostscript-8.64/ijs/Makefile.am	Tue Mar 29 04:38:26 2011
@@ -24,7 +24,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.6 foreign dist-bzip2 no-dependencies 
+AUTOMAKE_OPTIONS = 1.10 foreign dist-bzip2 no-dependencies 
 
 @SET_MAKE@
 
--- ghostscript-8.64/ijs/autogen.sh.orig	Tue Mar 29 04:39:57 2011
+++ ghostscript-8.64/ijs/autogen.sh	Tue Mar 29 04:39:17 2011
@@ -33,7 +33,7 @@
 
 # do we need automake?
 (grep "^AM_INIT_AUTOMAKE" "$CONFIG_AC" >/dev/null) && {
-  AM_NEEDED=`fgrep AUTOMAKE_OPTIONS Makefile.am | $VERSIONGREP`
+  AM_NEEDED=`fgrep AUTOMAKE_OPTIONS Makefile.am | nawk '{print $3}'`
   AM_NMAJOR=`echo $AM_NEEDED |cut -d. -f1`
   AM_NMINOR=`echo $AM_NEEDED |cut -d. -f2`
   AM_NPATCHLEVEL=`echo $AM_NEEDED |cut -d. -f3`