gnu: xfig, transfig: Patch compiler flags for mips and i686.

* gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile
  substitution match for more targets.
This commit is contained in:
Eric Bavier 2014-10-13 10:11:43 -05:00
parent af874238d4
commit 6aad2d625f

View file

@ -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)