pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/snes9x-gtk depend on devel/nasm on i386, the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbc28cbac718
branches:  trunk
changeset: 392096:bbc28cbac718
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Apr 25 15:09:02 2009 +0000

description:
depend on devel/nasm on i386, thereby enabling assembler optimizations.
Bump rev.

diffstat:

 emulators/snes9x-gtk/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3b7bf24ca3b1 -r bbc28cbac718 emulators/snes9x-gtk/Makefile
--- a/emulators/snes9x-gtk/Makefile     Sat Apr 25 13:53:09 2009 +0000
+++ b/emulators/snes9x-gtk/Makefile     Sat Apr 25 15:09:02 2009 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2009/04/06 10:11:47 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/25 15:09:02 tnn Exp $
 #
 
 DISTNAME=      snes9x-1.51-src-gtk-70
 PKGNAME=       snes9x-gtk-1.51.70
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  http://snes9x-gtk.googlecode.com/files/
 EXTRACT_SUFX=  .tar.bz2
@@ -21,6 +22,10 @@
 
 CONFIGURE_ARGS+=       --without-opengl
 
+.if ${MACHINE_ARCH} == "i386"
+BUILD_DEPENDS+=                nasm>=0.98:../../devel/nasm
+.endif
+
 .include "../../audio/portaudio-devel/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/libglade/buildlink3.mk"



Home | Main Index | Thread Index | Old Index