diff options
author | wiz <wiz> | 2000-11-16 19:14:12 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-11-16 19:14:12 +0000 |
commit | 8c7a37ca25e42c0c41d0dd2950199ce3f82189a9 (patch) | |
tree | eae843c8b8e48032e3469afe7670ba94b86575ab /emulators/snes9x/Makefile | |
parent | 19b0d97d7b349f08c4b4cc26cdf9b69a15cf952e (diff) | |
download | pkgsrc-8c7a37ca25e42c0c41d0dd2950199ce3f82189a9.tar.gz |
Check for DGA lib in X11BASE, based on a suggestion by hubertf.
Diffstat (limited to 'emulators/snes9x/Makefile')
-rw-r--r-- | emulators/snes9x/Makefile | 10 |
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 |