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/xfig.scm') 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 @@ (define-public xfig (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 @@ (define-public transfig (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 v1.2.3