gnu: tuxguitar: Set missing GCJFLAGS.

* gnu/packages/music.scm (tuxguitar)[arguments]: Set compiler flags
  "-fsource=1.4" and "-fPIC".
This commit is contained in:
Ricardo Wurmus 2015-12-29 07:48:59 +01:00
parent 5f1c949866
commit 6da2e99e2e
1 changed files with 2 additions and 0 deletions

View File

@ -707,6 +707,8 @@ is subjective.")
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(chdir "TuxGuitar") (chdir "TuxGuitar")
(substitute* "GNUmakefile" (substitute* "GNUmakefile"
(("GCJFLAGS\\+=(.*)" _ rest)
(string-append "GCJFLAGS=-fsource=1.4 -fPIC " rest))
(("PROPERTIES\\?=") (("PROPERTIES\\?=")
(string-append "PROPERTIES?= -Dswt.library.path=" (string-append "PROPERTIES?= -Dswt.library.path="
(assoc-ref inputs "swt") "/lib")) (assoc-ref inputs "swt") "/lib"))