ports/58204: [maintainer update] x11-toolkits/gnocl

Stephane Legrand stephane at freebsd.org
Fri Oct 31 20:56:33 UTC 2003


On Thu, Oct 30, 2003 at 10:28:12PM +0100, Kirill Ponomarew wrote:
> Hi,
> 
> On Thu, Oct 30, 2003 at 09:21:27PM +0100, Kirill Ponomarew wrote:
>  
> > Hmm I tested it now one more time and could build it. Maybe I
> > did not updated the ports on my -current before testing your
> > patch, it was 10 days ago and I don't know exactly *what* ports
> > I updated since these 10 days, anyway 20-30. But now the
> > problem gone, it can be committed.
> 
> No, I tried it with another current. Here is the log.
> 
> -Kirill

> ===>  Extracting for gnocl-0.5.12
> >> Checksum OK for gnocl-0.5.12.tar.bz2.
> ...
> gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gnocl/work/gnocl-0.5.12/src/canvas'
> gmake -C gconf
> gnome-config: not found
> Package gconf-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gconf-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gconf-2.0' found
> gnome-config: not found
> ...

Well, it seems it 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



More information about the freebsd-ports-bugs mailing list