Bug 58204

Summary: [maintainer update] x11-toolkits/gnocl
Product: Ports & Packages Reporter: Stephane Legrand <stephane>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Stephane Legrand freebsd_committer 2003-10-18 14:40:13 UTC
	x11-toolkits/gnocl update from 0.5.10 to 0.5.12
   
   This should also fix building on AMD64.
Comment 1 Kirill Ponomarev freebsd_committer 2003-10-21 23:04:40 UTC
State Changed
From-To: open->feedback

On -current: 

In file included from gnoclGconf.c:18: 
../gnocl.h:17:21: gtk/gtk.h: No such file or directory 
In file included from gnoclGconf.c:18: 
../gnocl.h:49: error: syntax error before "GtkStockItem" 
../gnocl.h:52: error: syntax error before "GtkWidget" 
../gnocl.h:54: error: syntax error before "GtkWidget" 
../gnocl.h:57: error: syntax error before '*' token 
../gnocl.h:58: error: syntax error before '*' token
Comment 2 Stephane Legrand freebsd_committer 2003-11-10 21:52:13 UTC
It seems the port needs gconf2. Here is a new patch file:


diff -ruN gnocl-orig01/Makefile gnocl/Makefile
--- gnocl-orig01/Makefile	Wed Aug 20 23:57:26 2003
+++ gnocl/Makefile	Fri Oct 31 21:02:27 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gnocl
-PORTVERSION=	0.5.10
+PORTVERSION=	0.5.12
 CATEGORIES=	x11-toolkits devel
 MASTER_SITES=	http://www.dr-baum.net/gnocl/
 
@@ -23,13 +23,19 @@
 CFLAGS+=	-I${LOCALBASE}/include/tcl8.4
 
 USE_X_PREFIX=	yes
-USE_GNOME=	libgnomecanvas
+USE_GNOME=	libgnomecanvas gconf2
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
+CFLAGS+=	-fPIC
+.endif
 
 GNOCL_CANVAS_FILE="lib/libgnoclCanvas.so.1"
 
 .if defined(WITHOUT_CANVAS)
 ALL_TARGET=	gnocl
-USE_GNOME=	gtk20
+USE_GNOME=	gtk20 gconf2
 GNOCL_CANVAS_FILE=	"@comment "
 .endif
 
@@ -46,4 +52,4 @@
 		${INSTALL_DATA} ${BUILD_WRKSRC}/gnoclCanvas.so ${PREFIX}/lib/libgnoclCanvas.so.1; \
 	fi; \
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN gnocl-orig01/distinfo gnocl/distinfo
--- gnocl-orig01/distinfo	Fri Aug 15 19:38:23 2003
+++ gnocl/distinfo	Fri Oct 31 20:48:03 2003
@@ -1 +1 @@
-MD5 (gnocl-0.5.10.tar.bz2) = 1d1b01c536a58e217cf4f069d5113210
+MD5 (gnocl-0.5.12.tar.bz2) = 2d9894ff9ee3c23fdf89594fb7fc7d18
Comment 3 Pav Lucistnik freebsd_committer 2003-11-21 12:49:05 UTC
State Changed
From-To: feedback->closed

Committed, thanks!