games-emulation/advancemame: Locate nasm with var instead of symlink
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 28 Apr 2020 22:46:26 +0000 (23:46 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 28 Apr 2020 22:55:03 +0000 (23:55 +0100)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-emulation/advancemame/advancemame-3.9.ebuild

index 65219bb4bbb867a662a76c74bc4fd24dd910570b..0c69669f9ac9c7376a152a548ea29e797bf2134f 100644 (file)
@@ -49,8 +49,6 @@ src_prepare() {
 
        eautoreconf
        sed -i -e 's/"-s"//' configure || die
-
-       use x86 && ln -s $(type -P nasm) "${T}/${CHOST}-nasm"
 }
 
 src_configure() {
@@ -59,7 +57,7 @@ src_configure() {
                append-ldflags "-Wl,--relax"
        fi
 
-       PATH="${PATH}:${T}"
+       ac_cv_prog_ASM=nasm \
        econf \
                --enable-expat \
                --enable-sdl2 \