summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-05-06 12:48:56 +0000
committerrh <rh@pkgsrc.org>2001-05-06 12:48:56 +0000
commit681044f11d91845fa93b7e07c5922e69c9904c29 (patch)
tree42adf808daf1bdfff0f47a77bc51e805031e34bf /devel
parent65e09c5849f811b6103ea8476a6e1e4f6dee32b4 (diff)
downloadpkgsrc-681044f11d91845fa93b7e07c5922e69c9904c29.tar.gz
Don't let SDL randomly pick up NAS support. Add SDL_USE_NAS variable that,
if present, causes SDL to depend on NAS. Disable NAS support if SDL_USE_NAS is not defined. Fixes PR 12784 by Eric Mumpower <nocturne@arepa.co>
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index 6b5c484ebbd..879487e7b07 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/05/05 13:47:12 rh Exp $
+# $NetBSD: Makefile,v 1.13 2001/05/06 12:48:56 rh Exp $
#
DISTNAME= SDL-1.2.0
@@ -30,6 +30,12 @@ NASMFLAGS= -f elf
NASMFLAGS= -f aoutb
.endif
+.ifdef SDL_USE_NAS
+DEPENDS+= nas>=1.4:../../audio/nas
+.else
+CONFIGURE_ARGS+= --disable-nas
+.endif
+
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CONFIGURE_ARGS+= --disable-pthread-sem
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -D_POSIX_THREAD_SYSCALL_SOFT=1"