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

View file

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