ports/83998: [maintainer-update] Update x11-toolkits/gnocl to 0.9.90 and unbreak the port
Stephane Legrand
stephane at FreeBSD.org
Sun Jul 24 13:40:20 UTC 2005
>Number: 83998
>Category: ports
>Synopsis: [maintainer-update] Update x11-toolkits/gnocl to 0.9.90 and unbreak the port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 24 13:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Stephane Legrand
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE i386
>Description:
Update x11-toolkits/gnocl to 0.9.90 and unbreak the port by fixing the library search path.
>How-To-Repeat:
>Fix:
diff -ruN gnocl-0.5.18/Makefile gnocl/Makefile
--- gnocl-0.5.18/Makefile Sun Jul 10 16:07:18 2005
+++ gnocl/Makefile Sun Jul 24 15:24:07 2005
@@ -6,8 +6,8 @@
#
PORTNAME= gnocl
-PORTVERSION= 0.5.18
-PORTREVISION= 1
+PORTVERSION= 0.9.90
+PORTREVISION= 0
CATEGORIES= x11-toolkits devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnocl
@@ -16,8 +16,6 @@
COMMENT= GTK+ and Gnome extension for Tcl
BUILD_DEPENDS= ${LOCALBASE}/include/tcl8.4/tcl.h:${PORTSDIR}/lang/tcl84
-
-BROKEN= "Does not build"
USE_GMAKE= yes
USE_BZIP2= yes
diff -ruN gnocl-0.5.18/distinfo gnocl/distinfo
--- gnocl-0.5.18/distinfo Sun Jul 10 16:07:18 2005
+++ gnocl/distinfo Fri Jul 22 21:34:52 2005
@@ -1,2 +1,2 @@
-MD5 (gnocl-0.5.18.tar.bz2) = f50192add7a85f17b7d2402a104de291
-SIZE (gnocl-0.5.18.tar.bz2) = 366478
+MD5 (gnocl-0.9.90.tar.bz2) = 2458eff0c8a2a21bd4f36a776974ac53
+SIZE (gnocl-0.9.90.tar.bz2) = 552128
diff -ruN gnocl-0.5.18/files/patch-Makefile gnocl/files/patch-Makefile
--- gnocl-0.5.18/files/patch-Makefile Sun Jul 10 16:07:18 2005
+++ gnocl/files/patch-Makefile Sun Jul 24 15:00:45 2005
@@ -1,11 +1,17 @@
---- src/Makefile.orig Wed Jul 21 17:54:38 2004
-+++ src/Makefile Wed Jul 21 17:55:11 2004
-@@ -18,7 +18,7 @@
- # for releases use -Os, this makes the lib 15% smaller
- CFLAGS += -Wall -pedantic
+--- src/Makefile.orig Sun Jul 24 14:40:44 2005
++++ src/Makefile Sun Jul 24 14:41:16 2005
+@@ -22,12 +22,12 @@
+ CFLAGS += -Wall -pedantic -fPIC
+ GTK_24 := $(shell pkg-config --atleast-version=2.4 'gtk+-2.0' && echo yes)
-TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh)
+TCL_VERSION := 84
# this breaks build on GTK 2.4
# -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
+ export ADDCFLAGS := -DVERSION=\"$(VERSION)\" -DUSE_TCL_STUBS $(shell pkg-config --cflags gtk+-2.0)
+-export LIBS := $(shell pkg-config --libs gtk+-2.0) -ltclstub$(TCL_VERSION)
++export LIBS := $(shell pkg-config --libs gtk+-2.0) -ltclstub$(TCL_VERSION) -L$(LOCALBASE)/lib
+
+ ############################################################
+ # There should be no need to edit something below this line
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list