components/ghostscript/patches/09-ijs.automake.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 28 Jul 2011 04:14:27 -0700
changeset 435 c34ab00eff52
parent 178 4340c0d63702
child 7819 b1bca76ec901
permissions -rw-r--r--
7004467 diagnostic/wireshark needs to be split 7006617 tshark/wireshark man pages need to be improved for -i

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