diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-08-29 22:30:00 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-08-29 22:30:43 +0100 |
commit | 3dabd1e26db8d0c520bc2a5a916f383d82bec882 (patch) | |
tree | 7e39c346294527989b8c998d73e307cc550dacc2 /media-sound/tuxguitar | |
parent | media-sound/tuxguitar: New package (diff) | |
download | gentoo-3dabd1e26db8d0c520bc2a5a916f383d82bec882.tar.gz gentoo-3dabd1e26db8d0c520bc2a5a916f383d82bec882.tar.bz2 gentoo-3dabd1e26db8d0c520bc2a5a916f383d82bec882.zip |
media-sound/tuxguitar: Only call append-flags once to avoid duplicates
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-sound/tuxguitar')
-rw-r--r-- | media-sound/tuxguitar/tuxguitar-1.3.2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild b/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild index 001b67cc0c2d..fe46d5c4a8fc 100644 --- a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild +++ b/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild @@ -65,11 +65,12 @@ src_compile() { local build_order=( ${LIBRARY_LIST[@]} ${PLUGIN_LIST[@]/#/TuxGuitar-} ) local directory + append-flags -fPIC $(java-pkg_get-jni-cflags) + for directory in ${build_order[@]}; do cd "${S}"/${directory} || die "cd ${directory} failed" eant if [[ -d jni ]]; then - append-flags -fPIC $(java-pkg_get-jni-cflags) CC=$(tc-getCC) emake -C jni fi done |