Bug 52091 - MASTER_SITE updates for devel/libgii and graphics/libggi
Summary: MASTER_SITE updates for devel/libgii and graphics/libggi
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 05:30 UTC by Pedro F. Giffuni
Modified: 2003-05-16 05:14 UTC (History)
0 users

See Also:


Attachments
file.diff (1014 bytes, patch)
2003-05-12 05:30 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2003-05-12 05:30:09 UTC
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
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2003-05-16 05:11:30 UTC
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.