GGI project also keeps their release files at sourceforge. While modifying this it also looked interesting to add support for KGI4BSD detection. Fix: __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer --0-863950813-1052713745=:64349 Content-Type: text/plain; name=patch-libgii Content-Description: patch-libgii Content-Disposition: inline; filename=patch-libgii --0-863950813-1052713745=:64349 Content-Type: text/plain; name=patch-libggi Content-Description: patch-libggi Content-Disposition: inline; filename=patch-libggi --0-863950813-1052713745=:64349----UDe8g9uVaMRcqfyPu7VSKhltmXzyKp8dUvwEQDeD1HuDp89V Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -ruN libgii.orig/Makefile libgii/Makefile --- libgii.orig/Makefile Tue May 6 08:52:19 2003 +++ libgii/Makefile Sun May 11 22:16:58 2003 @@ -2,26 +2,32 @@ # Date created: 4 January 2000 # Whom: mwest@uct.ac.za # -# $FreeBSD: ports/devel/libgii/Makefile,v 1.10 2003/05/06 13:52:19 maho Exp $ +# $FreeBSD: ports/devel/libgii/Makefile,v 1.8 2003/02/21 11:22:34 knu Exp $ # PORTNAME= libgii PORTVERSION= 0.8.3 CATEGORIES= devel -MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ +MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ \ + $(MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ggi DISTNAME= $(PORTNAME)-$(PORTVERSION).src MAINTAINER= ports@FreeBSD.org -COMMENT= API for input sources +COMMENT= GGI API for input sources WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_BZIP2= yes USE_XLIB= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes -# NOTE: We can not define USE_LIBTOOL for this port to build. -#USE_LIBTOOL= yes -CFLAGS+= ${PTHREAD_LIBS} + +.if exists(/usr/include/kii/kii.h) +CONFIGURE_ARGS += --enable-kii +PLIST_SUB+= KII="@comment " +.else +PLIST_SUB+= KII="" +.endif MAN1= mhub.1 MAN3= giiEventPoll.3 giiEventSend.3 giiInit.3 \ diff -ruN libgii.orig/pkg-plist libgii/pkg-plist --- libgii.orig/pkg-plist Mon May 5 15:02:09 2003 +++ libgii/pkg-plist Sun May 11 16:50:40 2003 @@ -30,6 +30,8 @@ lib/ggi/filter/tcp.so lib/ggi/input/file.la lib/ggi/input/file.so +lib/ggi/input/kii.la +lib/ggi/input/kii.so lib/ggi/input/linux_mouse.la lib/ggi/input/linux_mouse.so lib/ggi/input/mouse.la
State Changed From-To: open->closed Committed, thanks. For libgii, you had the PLIST_SUB logic reversed, and didn't actually use %%KII%% in plist.