1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- 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)
This commit is contained in:
Jeremy Messenger 2005-07-25 06:13:04 +00:00
parent 7070f6ce35
commit 8425077e7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140060
3 changed files with 15 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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