components/ghostscript/patches/09-ijs.automake.patch
author Petr Nyc <Petr.Nyc@Oracle.COM>
Wed, 03 Jun 2015 01:43:21 -0700
branchs11u2-sru
changeset 4397 e26fa37faea0
parent 178 4340c0d63702
child 7819 b1bca76ec901
permissions -rw-r--r--
Added tag 0.175.2.12.0.1.0, S11.2SRU12.1 for changeset 8a9e2a2ea8c6

--- 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`