summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-10-13 10:11:43 -0500
committerEric Bavier <bavier@member.fsf.org>2014-10-13 10:11:43 -0500
commit6aad2d625f861184504947757a898210e34e515a (patch)
tree02d62372e0a319a5dfefe68f6dc62eaddcc95227
parentaf874238d4d05f6584eebb7ceee10ee2ab1bf312 (diff)
downloadguix-6aad2d625f861184504947757a898210e34e515a.tar.gz
gnu: xfig, transfig: Patch compiler flags for mips and i686.
* gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile
  substitution match for more targets.
-rw-r--r--gnu/packages/xfig.scm8
1 files changed, 4 insertions, 4 deletions
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)