[csw-devel] SF.net SVN: gar:[6233] csw/mgar/pkg/xmlto/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Sep 9 02:53:03 CEST 2009


Revision: 6233
          http://gar.svn.sourceforge.net/gar/?rev=6233&view=rev
Author:   bdwalton
Date:     2009-09-09 00:53:03 +0000 (Wed, 09 Sep 2009)

Log Message:
-----------
xmlto: add patch to remove hardcoding of bash path in configure

Modified Paths:
--------------
    csw/mgar/pkg/xmlto/trunk/Makefile
    csw/mgar/pkg/xmlto/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/xmlto/trunk/files/no-hardcode-bash.patch

Modified: csw/mgar/pkg/xmlto/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xmlto/trunk/Makefile	2009-09-09 00:21:36 UTC (rev 6232)
+++ csw/mgar/pkg/xmlto/trunk/Makefile	2009-09-09 00:53:03 UTC (rev 6233)
@@ -19,6 +19,8 @@
 MASTER_SITES = https://fedorahosted.org/releases/x/m/$(GARNAME)/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
 
+PATCHFILES = no-hardcode-bash.patch
+
 TEST_TARGET = check
 
 # We define upstream file regex so we can be notifed of new upstream software release
@@ -27,8 +29,9 @@
 # we don't link to anything besides libc and libm.
 NORUNPATH = 1
 
-pre-configure:
+pre-configure-modulated:
 	@(cd $(WORKSRC); \
+		autoreconf; \
 		touch doc/xmlto.xml doc/xmlif.xml )
 	@$(MAKECOOKIE)
 

Modified: csw/mgar/pkg/xmlto/trunk/checksums
===================================================================
--- csw/mgar/pkg/xmlto/trunk/checksums	2009-09-09 00:21:36 UTC (rev 6232)
+++ csw/mgar/pkg/xmlto/trunk/checksums	2009-09-09 00:53:03 UTC (rev 6233)
@@ -1 +1,2 @@
+a39f8b6fdb2219dca513145a4fca63ac  download/no-hardcode-bash.patch
 12f297dc7051e4fef08339980f88a1dd  download/xmlto-0.0.22.tar.bz2

Added: csw/mgar/pkg/xmlto/trunk/files/no-hardcode-bash.patch
===================================================================
--- csw/mgar/pkg/xmlto/trunk/files/no-hardcode-bash.patch	                        (rev 0)
+++ csw/mgar/pkg/xmlto/trunk/files/no-hardcode-bash.patch	2009-09-09 00:53:03 UTC (rev 6233)
@@ -0,0 +1,14 @@
+diff --speed-large-files --minimal -Nru xmlto-0.0.22.orig/configure.in xmlto-0.0.22/configure.in
+--- xmlto-0.0.22.orig/configure.in	2009-03-25 14:48:02.000000000 +0100
++++ xmlto-0.0.22/configure.in	2009-09-09 02:43:47.431319471 +0200
+@@ -18,9 +18,8 @@
+ AC_ARG_VAR([FIND], [Name of the GNU `find' program.])
+ AC_CHECK_PROG([FIND], [find],, [find] )
+ 
+-BASH=/bin/bash
+ AC_ARG_VAR([BASH], [Name and path of the GNU `bash' shell.])
+-AC_PATH_PROG([BASH], [bash], [/bin/bash])
++AC_PATH_PROG([BASH], [bash],, [bash])
+ 
+ AC_ARG_VAR([GETOPT], [Name of the `getopt' program (requires longopt support).])
+ AC_CHECK_PROG([GETOPT], [getopt],, [getopt])


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list