From 6aad2d625f861184504947757a898210e34e515a Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 13 Oct 2014 10:11:43 -0500 Subject: gnu: xfig, transfig: Patch compiler flags for mips and i686. * gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile substitution match for more targets. --- gnu/packages/xfig.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/xfig.scm b/gnu/packages/xfig.scm index c382788233..b15407417f 100644 --- a/gnu/packages/xfig.scm +++ b/gnu/packages/xfig.scm @@ -90,8 +90,8 @@ (zero? (system* "xmkmf" "-a")) ;; Reset some variables that are inherited from imake templates (substitute* "Makefile" - ;; This imake variable somehow remains undefined - (("DefaultGcc2AMD64Opt") "-O2") + ;; These imake variables somehow remain undefined + (("DefaultGcc2[[:graph:]]*Opt") "-O2") ;; Reset a few variable defaults that are set in imake templates ((imake) out) (("(MANPATH = )[[:graph:]]*" _ front) @@ -181,8 +181,8 @@ selected in various ways. For text, 35 fonts are available.") (substitute* '("Makefile" "fig2dev/Makefile" "transfig/Makefile") - ;; This imake variable somehow remains undefined - (("DefaultGcc2AMD64Opt") "-O2") + ;; These imake variables somehow remain undefined + (("DefaultGcc2[[:graph:]]*Opt") "-O2") ;; Reset a few variable defaults that are set in imake templates ((imake) out) (("(MANPATH = )[[:graph:]]*" _ front) -- cgit 1.4.1