summaryrefslogtreecommitdiff
path: root/emulators/snes9x
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-11-16 19:14:12 +0000
committerwiz <wiz@pkgsrc.org>2000-11-16 19:14:12 +0000
commit8b3076e79026673166a097dcb84b920198e64776 (patch)
treeeae843c8b8e48032e3469afe7670ba94b86575ab /emulators/snes9x
parent9e91b0c39cfa529b23bb5ae9fe5cf2ac45920305 (diff)
downloadpkgsrc-8b3076e79026673166a097dcb84b920198e64776.tar.gz
Check for DGA lib in X11BASE, based on a suggestion by hubertf.
Diffstat (limited to 'emulators/snes9x')
-rw-r--r--emulators/snes9x/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index b64e807cb09..712cb75acd2 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/11/16 02:27:04 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2000/11/16 19:14:12 wiz Exp $
DISTNAME= s9xs132
PKGNAME= snes9x-1.32
@@ -15,10 +15,6 @@ BUILD_DEPENDS+= nasm:../../devel/nasm
USE_X11= yes
USE_GMAKE= yes
-.if exists(/usr/X11R6/lib/libXxf86dga.a)
-MAKE_ENV+= NETBSD_USE_DGA=1
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/offsets ${PREFIX}/bin
@@ -44,3 +40,7 @@ MAKE_ENV+= ZSNESFX=1
MAKE_ENV+= ASMCPU=1
.endif
.endif
+
+.if exists(${X11BASE}/lib/libXxf86dga.a)
+MAKE_ENV+= NETBSD_USE_DGA=1
+.endif