ports/158738: japanese/ical
Scot Hetzel
swhetzel at gmail.com
Fri Jul 8 17:00:02 UTC 2011
>Number: 158738
>Category: ports
>Synopsis: japanese/ical
>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 17:00:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Scot Hetzel
>Release: 9.0-CURRENT
>Organization:
>Environment:
>Description:
ical fails to build on 9.0-CURRENT due to it depends on an older version of tk/tcl 8.0 patched for the japanese language that is marked broken on 9.0-CURRENT.
>How-To-Repeat:
Try to build the port on a 9.0-CURRENT system:
cd /usr/ports/japanese/ical
make build
>Fix:
In my research, it looks like tk/tcl 8.1+ has native support for other languages (including japanese).
If this is correct, the attached patch changes the dependancy from japanese/tk80 to any available tk/tcl.
The attached patch also makes the japanese/ical port a slave port of the deskutils/ical port.
This patch also depends on PR 158737 for the deskutils/ical port.
http://www.freebsd.org/cgi/query-pr.cgi?pr=158737
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/ical/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 28 Oct 2010 21:00:13 -0000 1.10
+++ Makefile 8 Jul 2011 11:17:06 -0000
@@ -6,13 +6,9 @@
#
PORTNAME= ical
-PORTVERSION= 2.2
-PORTREVISION= 2
+
+PORTREVISION= 3
CATEGORIES= japanese deskutils tk
-MASTER_SITES= ftp://ftp.sco.com/skunkware/src/shellutil/ \
- ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/ \
- ftp://ftp.netsw.org/netsw/X11/Tools/Desktop/ \
- ftp://ftp.sunsite.org.uk/Mirrors/ftp.sco.com/skunkware/src/shellutil/
PATCH_SITES= http://www-jlc.kek.jp/~fujiik/mklinux/Packages/dr3/JRPMS/ical/SOURCES/
PATCHFILES= ical-2.2-jp1.patch
@@ -21,21 +17,9 @@
MAINTAINER= mutoh at openedu.org
COMMENT= A calendar application (Japanese)
-LIB_DEPENDS= tk80jp:${PORTSDIR}/japanese/tk80
-
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
MASTERDIR= ${.CURDIR}/../../deskutils/ical
DISTINFO_FILE= ${.CURDIR}/distinfo
-USE_XORG= x11
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tclconfig=${PREFIX}/lib/tcl8.0jp \
- --with-tclhdir=${PREFIX}/include/tcl8.0jp \
- --with-tclsh=${PREFIX}/bin/tclsh8.0jp \
- --with-tkconfig=${PREFIX}/lib/tk8.0jp \
- --with-tkhdir=${PREFIX}/include/tk8.0jp
-
-MAN1= ical.1
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list