ports/158737: deskutils/ical: Allow ical to depend on any version to tk

Scot Hetzel swhetzel at gmail.com
Fri Jul 8 16:40:01 UTC 2011


>Number:         158737
>Category:       ports
>Synopsis:       deskutils/ical: Allow ical to depend on any version to tk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 16:40:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD vbox.hetzel.local 9.0-CURRENT FreeBSD9.0-CURRENT#4 r218985:220965M: Sat Apr 23 01:58:28 UTC 2011
>Description:
Currently, ical has a hard dependancy on tk84, change the port to use USE_TK to allow it to depend on any version of tk.
>How-To-Repeat:
Install tk 8.5
cd /usr/ports/deskutils/ical
make install

Port will install tk 8.4.
>Fix:
The attached patch allows the port to depend on any version of tk.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/deskutils/ical/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile	9 Apr 2008 13:41:58 -0000	1.38
+++ Makefile	8 Jul 2011 11:11:13 -0000
@@ -9,20 +9,20 @@
 PORTNAME=	ical
 PORTVERSION=	2.2
 PORTREVISION=	3
-CATEGORIES=	deskutils tk
+CATEGORIES?=	deskutils tk
 MASTER_SITES=	ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/
 
-MAINTAINER=	obrien at FreeBSD.org
-COMMENT=	A calendar application
+MAINTAINER?=	obrien at FreeBSD.org
+COMMENT?=	A calendar application
 
-LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84
+USE_TK=		yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-tclconfig=${PREFIX}/lib/tcl8.4 \
-		--with-tclhdir=${PREFIX}/include/tcl8.4 \
-		--with-tclsh=${PREFIX}/bin/tclsh8.4 \
-		--with-tkconfig=${PREFIX}/lib/tk8.4 \
-		--with-tkhdir=${PREFIX}/include/tk8.4
+CONFIGURE_ARGS=	--with-tclconfig=${TCL_LIBDIR} \
+		--with-tclhdir=${TCL_INCLUDEDIR} \
+		--with-tclsh=${TCLSH} \
+		--with-tkconfig=${TK_LIBDIR} \
+		--with-tkhdir=${TK_INCLUDEDIR}
 
 MAN1=		ical.1
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list