aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-07-25 14:13:04 +0800
committermezz <mezz@FreeBSD.org>2005-07-25 14:13:04 +0800
commit7b888435853cbe2b2e8df02d114cd2b387fb40ed (patch)
tree2f79f66173b27ca38db9eb2d2ebc6ed2fc9974e5
parente70d5b3606b1d5d1d8783bf221fe0be2171d40ef (diff)
downloadfreebsd-ports-gnome-7b888435853cbe2b2e8df02d114cd2b387fb40ed.tar.gz
freebsd-ports-gnome-7b888435853cbe2b2e8df02d114cd2b387fb40ed.tar.zst
freebsd-ports-gnome-7b888435853cbe2b2e8df02d114cd2b387fb40ed.zip
- Update to 0.9.90.
- Unbreak it by fixing the library search path, remove the DEPRECATED and EXPIRATION_DATE too. PR: ports/83998 Submitted by: Stephane Legrand <stephane@freebsd.org> (maintainer)
-rw-r--r--x11-toolkits/gnocl/Makefile8
-rw-r--r--x11-toolkits/gnocl/distinfo4
-rw-r--r--x11-toolkits/gnocl/files/patch-Makefile16
3 files changed, 15 insertions, 13 deletions
diff --git a/x11-toolkits/gnocl/Makefile b/x11-toolkits/gnocl/Makefile
index 20b19cf319a0..cd3ea8a3bc7f 100644
--- a/x11-toolkits/gnocl/Makefile
+++ b/x11-toolkits/gnocl/Makefile
@@ -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
@@ -17,10 +17,6 @@ COMMENT= GTK+ and Gnome extension for Tcl
BUILD_DEPENDS= ${LOCALBASE}/include/tcl8.4/tcl.h:${PORTSDIR}/lang/tcl84
-BROKEN= "Does not build"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
USE_GMAKE= yes
USE_BZIP2= yes
USE_REINPLACE= yes
diff --git a/x11-toolkits/gnocl/distinfo b/x11-toolkits/gnocl/distinfo
index ea53887b8438..936828d2b41e 100644
--- a/x11-toolkits/gnocl/distinfo
+++ b/x11-toolkits/gnocl/distinfo
@@ -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 --git a/x11-toolkits/gnocl/files/patch-Makefile b/x11-toolkits/gnocl/files/patch-Makefile
index 1b85ef466197..f12befddd76d 100644
--- a/x11-toolkits/gnocl/files/patch-Makefile
+++ b/x11-toolkits/gnocl/files/patch-Makefile
@@ -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