pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libgii Remove --enable-mutexes=int from CONFI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac50b84b5484
branches:  trunk
changeset: 491722:ac50b84b5484
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 28 23:55:42 2005 +0000

description:
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:

 graphics/libgii/Makefile |  13 +++++++++++--
 graphics/libgii/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r b0c3a714e1e9 -r ac50b84b5484 graphics/libgii/Makefile
--- a/graphics/libgii/Makefile  Mon Mar 28 23:11:43 2005 +0000
+++ b/graphics/libgii/Makefile  Mon Mar 28 23:55:42 2005 +0000
@@ -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_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 @@
 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 -r b0c3a714e1e9 -r ac50b84b5484 graphics/libgii/PLIST
--- a/graphics/libgii/PLIST     Mon Mar 28 23:11:43 2005 +0000
+++ b/graphics/libgii/PLIST     Mon Mar 28 23:55:42 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index