summaryrefslogtreecommitdiff
path: root/graphics/libgii
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-28 23:55:42 +0000
committerwiz <wiz@pkgsrc.org>2005-03-28 23:55:42 +0000
commit28f9dee186418a3c5be5d54a42483c4f4e7f72a8 (patch)
tree5ba3ef377171bb20305fc1d22827d9c9be9cdcd6 /graphics/libgii
parent0816803415ab14c7063f2da1ff340e0ca23695ae (diff)
downloadpkgsrc-28f9dee186418a3c5be5d54a42483c4f4e7f72a8.tar.gz
Remove --enable-mutexes=int from CONFIGURE_ARGS (suggested by
Christoph Egger) and fix PLIST on NetBSD-1.6 (and other systems without native threads). Set TEST_TARGET. Bump PKGREVISION to 1.
Diffstat (limited to 'graphics/libgii')
-rw-r--r--graphics/libgii/Makefile13
-rw-r--r--graphics/libgii/PLIST3
2 files changed, 13 insertions, 3 deletions
diff --git a/graphics/libgii/Makefile b/graphics/libgii/Makefile
index b44b6b7f872..98a9c39a781 100644
--- a/graphics/libgii/Makefile
+++ b/graphics/libgii/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2005/03/25 02:46:49 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/03/28 23:55:42 wiz Exp $
DISTNAME= libgii-0.9.0.src
PKGNAME= ${DISTNAME:S/.src//}
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.1/ \
http://www.ggi-project.org/ftp/ggi/v2.1/ \
@@ -17,9 +18,9 @@ USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
USE_X11= yes
USE_LIBTOOL= yes
+TEST_TARGET= check
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-mutexes=int
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
@@ -30,4 +31,12 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}/filter
CONF_FILES+= ${EGDIR}/filter/keytrans ${PKG_SYSCONFDIR}/filter/keytrans
CONF_FILES+= ${EGDIR}/filter/mouse ${PKG_SYSCONFDIR}/filter/mouse
+.include "../../mk/pthread.buildlink3.mk"
+
+.if empty(PTHREAD_TYPE:Mnative)
+PLIST_SUBST+= GGTICK=""
+.else
+PLIST_SUBST+= GGTICK="@comment "
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libgii/PLIST b/graphics/libgii/PLIST
index b3e4cdd6f91..ca84c6c31e0 100644
--- a/graphics/libgii/PLIST
+++ b/graphics/libgii/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.7 2005/03/25 02:46:49 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2005/03/28 23:55:42 wiz Exp $
+${GGTICK}bin/ggtick
bin/mhub
bin/xsendbut
include/ggi/errors.h