pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mame mame: Install the correct executable name



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5729f9e80ede
branches:  trunk
changeset: 440851:5729f9e80ede
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Oct 20 11:14:41 2020 +0000

description:
mame: Install the correct executable name

diffstat:

 emulators/mame/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1747e76bedc6 -r 5729f9e80ede emulators/mame/Makefile
--- a/emulators/mame/Makefile   Tue Oct 20 11:06:50 2020 +0000
+++ b/emulators/mame/Makefile   Tue Oct 20 11:14:41 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2020/09/30 09:22:48 wiz Exp $
+# $NetBSD: Makefile,v 1.124 2020/10/20 11:14:41 nia Exp $
 
 DISTNAME=      mame-0.225
 CATEGORIES=    emulators
@@ -92,7 +92,11 @@
        ${RM} -f ${WRKDIR}/.buildlink/include/png*
 
 do-install:
+.if ${MACHINE_ARCH} == "x86_64"
        ${INSTALL_PROGRAM} ${WRKSRC}/mame64 ${DESTDIR}${PREFIX}/bin/mame
+.else
+       ${INSTALL_PROGRAM} ${WRKSRC}/mame ${DESTDIR}${PREFIX}/bin/mame
+.endif
        set -e; \
        for prg in castool chdman floptool imgtool jedutil ldresample ldverify \
                nltool nlwav pngcmp regrep romcmp split srcclean unidasm; do \



Home | Main Index | Thread Index | Old Index