summaryrefslogtreecommitdiff
path: root/emulators/uae
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-08-02 15:56:36 +0000
committerkristerw <kristerw@pkgsrc.org>2004-08-02 15:56:36 +0000
commit705471a9e658360d0f76bcb3165abcaf984c14d4 (patch)
tree2e7760829e93760802fbec3e440564b5fb8ca765 /emulators/uae
parent602c135523c60eba53e1fbd57877ead6923d61b3 (diff)
downloadpkgsrc-705471a9e658360d0f76bcb3165abcaf984c14d4.tar.gz
Enable the GUI on OS that have native threads. Suggested by Arto Huusko
in PR 24265. Bump PKGREVISION.
Diffstat (limited to 'emulators/uae')
-rw-r--r--emulators/uae/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index bca418d0439..c9e0a399c29 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2004/06/01 18:25:57 tron Exp $
+# $NetBSD: Makefile,v 1.32 2004/08/02 15:56:36 kristerw Exp $
DISTNAME= uae-0.8.22
+PKGREVISION= 1
PKGNAME= ${DISTNAME}
CATEGORIES= emulators
MASTER_SITES= http://www.freiburg.linux.de/~uae/bin/sources/develop/
@@ -16,7 +17,14 @@ USE_GNU_TOOLS+= make
USE_X11= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-dga --enable-vidmode --disable-ui
+CONFIGURE_ARGS+= --enable-dga --enable-vidmode
+
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
+.include "../../x11/gtk/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ui
+.endif
.include "../../mk/compiler.mk"