ports/158421: [PATCH] update to lang/icon

Niclas Zeising niclas.zeising at gmail.com
Wed Jun 29 09:00:21 UTC 2011


>Number:         158421
>Category:       ports
>Synopsis:       [PATCH] update to lang/icon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 29 09:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root at vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	lang/icon is out of date and it also does not build with clang.
>How-To-Repeat:
	
>Fix:

	Attached patch updates lang/icon to latest version, as well as make it build with clang. The resulting binaries, when build with clang, will not pass all tests though, so for now mark it as broken if CC=clang or CXX=clang++. This is only tested on amd64, since I don't have any more exotic hardware to test on.

--- lang.icon.update.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/icon/Makefile,v
retrieving revision 1.34
diff -u -d -r1.34 Makefile
--- Makefile	12 Aug 2009 14:55:16 -0000	1.34
+++ Makefile	29 Jun 2011 08:54:40 -0000
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	icon
-PORTVERSION=	9.4.3
-PORTREVISION=	3
+PORTVERSION=	9.5.0
 CATEGORIES=	lang
 MASTER_SITES=	http://www.cs.arizona.edu/icon/ftp/packages/unix/
-DISTNAME=	${PORTNAME}.v${PORTVERSION:S/.//g}src
+DISTNAME=	${PORTNAME}-v${PORTVERSION:S/.//g}src
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
@@ -19,12 +18,16 @@
 ALL_TARGET=	All
 MAKE_JOBS_UNSAFE=	yes
 
+.if ${CC} == "clang" || ${CXX} == "clang++"
+BROKEN=		Does not pass all tests when compiled with clang
+.endif
+
 MAN1=		icon.1 icont.1
 
 ARCH_NAME=	bsd
 ICONDIR=	${PREFIX}/lib/${PORTNAME}
 
-BINS=		icont iconx rtt
+BINS=		icont iconx
 BINXS=		colrbook colrpick fontpick palette vib wevents xgamma
 
 .if defined(WITHOUT_X11)
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/lang/icon/distinfo,v
retrieving revision 1.12
diff -u -d -r1.12 distinfo
--- distinfo	4 Dec 2005 14:58:26 -0000	1.12
+++ distinfo	29 Jun 2011 08:54:40 -0000
@@ -1,3 +1,2 @@
-MD5 (icon.v943src.tgz) = 4740b1fc5caf2fe7409367923dffe607
-SHA256 (icon.v943src.tgz) = d6b6dc508922251748c4ceefbc3a96b54a9f488e260f9f517b5e08dc21615bff
-SIZE (icon.v943src.tgz) = 3218627
+SHA256 (icon-v950src.tgz) = ceb558bcf5b2edc3252b2d1d4ed640d2a218196f73d299b052f1e0c50e9b1557
+SIZE (icon-v950src.tgz) = 3115766
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/lang/icon/pkg-plist,v
retrieving revision 1.9
diff -u -d -r1.9 pkg-plist
--- pkg-plist	19 Dec 2006 20:16:01 -0000	1.9
+++ pkg-plist	29 Jun 2011 08:54:41 -0000
@@ -10,7 +10,6 @@
 @exec ln -sf %B/%f %D/bin/%f
 @unexec rm -f %D/bin/%f
 %%WITHOUT_X11%%lib/icon/bin/palette
-lib/icon/bin/rtt
 %%WITHOUT_X11%%lib/icon/bin/vib
 %%WITHOUT_X11%%@exec ln -sf %B/%f %D/bin/%f
 %%WITHOUT_X11%%@unexec rm -f %D/bin/%f
@@ -164,6 +163,8 @@
 lib/icon/lib/drawlab.u2
 lib/icon/lib/dsetup.u1
 lib/icon/lib/dsetup.u2
+lib/icon/lib/echo.u1
+lib/icon/lib/echo.u2
 lib/icon/lib/ebcdic.u1
 lib/icon/lib/ebcdic.u2
 lib/icon/lib/empgsup.u1
@@ -807,10 +808,12 @@
 lib/icon/lib/zipread.u2
 %%PORTDOCS%%%%DOCSDIR%%/blubordr.gif
 %%PORTDOCS%%%%DOCSDIR%%/build.htm
+%%PORTDOCS%%%%DOCSDIR%%/cfuncs.htm
 %%PORTDOCS%%%%DOCSDIR%%/clnroff.sed
 %%PORTDOCS%%%%DOCSDIR%%/cube128.gif
 %%PORTDOCS%%%%DOCSDIR%%/cygwin.htm
 %%PORTDOCS%%%%DOCSDIR%%/docguide.htm
+%%PORTDOCS%%%%DOCSDIR%%/extlvals.htm
 %%PORTDOCS%%%%DOCSDIR%%/faq.htm
 %%PORTDOCS%%%%DOCSDIR%%/faq.txt
 %%PORTDOCS%%%%DOCSDIR%%/files.htm
--- lang.icon.update.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list