ports/120082: [MAINTAINER UPDATE] lang/see[-devel]: update to new versions

Simun Mikecin numisemis at yahoo.com
Mon Jan 28 13:00:04 UTC 2008


>Number:         120082
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] lang/see[-devel]: update to new versions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 13:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Simun Mikecin
>Release:        7.0-RC1
>Organization:
>Environment:
FreeBSD xxx.xxx 7.0-RC1 FreeBSD 7.0-RC1 #0: Tue Jan 22 14:58:57 CET 2008     root at xxx.xxx:/usr/obj/usr/src.7.0/sys/XXX  amd64
>Description:
This updates:

- lang/see from version 1.3.1_1 to 2.0.1131 (same version as see-devel before this update)
- lang/see-devel from version 2.0.1131 to 2.1.1293_snapshot

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN old/see/Makefile new/see/Makefile
--- old/see/Makefile	2007-02-01 03:41:44.000000000 +0100
+++ new/see/Makefile	2008-01-28 13:49:08.861702990 +0100
@@ -1,40 +1,47 @@
 # New ports collection makefile for:   see
-# Date created:        22 September 2004
-# Whom:                numisemis at yahoo.com
+# Date created:        29 Oct 2005
+# Whom:                Simun Mikecin <numisemis at yahoo.com>
 #
-# $FreeBSD: ports/lang/see/Makefile,v 1.11 2007/02/01 02:41:44 kris Exp $
+# $FreeBSD: ports/lang/see-devel/Makefile,v 1.12 2007/10/04 01:25:18 edwin Exp $
 #
 
 PORTNAME=	see
-PORTVERSION=	1.3.1
-PORTREVISION=	1
+PORTVERSION=	2.0.1131
 CATEGORIES=	lang devel
-MASTER_SITES=	http://www.powerband.net.au/~david.leonard/
+MASTER_SITES=	http://www.powerband.net.au/~david.leonard/ \
+		http://freshmeat.net/redir/see/45974/url_tgz/
 
 MAINTAINER=	numisemis at yahoo.com
 COMMENT=	Simple ECMAScript Engine (SEE)
 
+OPTIONS=	GC "Use Boehm-Weiser garbage collection package" on \
+		OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
+		SEE_DEBUG "Internal SEE library debugging" off
+
 CONFLICTS=	see-devel-[0-9]*
 
-OPTIONS=	GC "Use Boehm-Weiser garbage collection pkg" on \
-		OPTIMIZED_CFLAGS "Enable some additional optimizations" off
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
-USE_AUTOTOOLS=	libtool:15
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
+USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
-USE_PERL5_BUILD=	yes
 
 CONFIGURE_ENV=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 .include <bsd.port.pre.mk>
 
+.if !defined(WITH_SEE_DEBUG)
+CFLAGS+=	-DNDEBUG
+.endif
+
 .if defined(WITH_OPTIMIZED_CFLAGS)
 CFLAGS+=	-O3 -fomit-frame-pointer
 .endif
 
-.if !defined(WITHOUT_GC)
+.if defined(WITH_GC)
 LIB_DEPENDS+=	gc:${PORTSDIR}/devel/boehm-gc
 .else
 CONFIGURE_ARGS+=	--without-boehm-gc
@@ -49,7 +56,7 @@
 .if !defined(NOPORTDOCS)
 post-install:
 	${MKDIR} ${DOCSDIR}
-.for f in doc/USAGE.html AUTHORS NEWS README TODO
+.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 .endfor
 .endif
diff -urN old/see/distinfo new/see/distinfo
--- old/see/distinfo	2006-02-01 12:46:17.000000000 +0100
+++ new/see/distinfo	2006-08-17 18:42:03.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (see-1.3.1.tar.gz) = 472e88b13bb090b29d1bb553adbff454
-SHA256 (see-1.3.1.tar.gz) = 50ed56794bea742e9106914a0c0d1d79eaea15090f02542006c34f3c23d8b066
-SIZE (see-1.3.1.tar.gz) = 523226
+MD5 (see-2.0.1131.tar.gz) = 02d8e5d7581acde2212969217d5bab96
+SHA256 (see-2.0.1131.tar.gz) = 0d398fd5f7a2e86ddbe361a80d9658bf0f0f6c11dad186953c3c064c56d12d93
+SIZE (see-2.0.1131.tar.gz) = 948647
diff -urN old/see/files/patch-include_see_Makefile.in new/see/files/patch-include_see_Makefile.in
--- old/see/files/patch-include_see_Makefile.in	2006-07-20 00:53:57.000000000 +0200
+++ new/see/files/patch-include_see_Makefile.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- include/see/Makefile.in.orig	Wed Jan 18 14:22:20 2006
-+++ include/see/Makefile.in	Wed Jul 19 19:49:40 2006
-@@ -253,8 +253,8 @@
- 		> inc-subst
- 	$(PERL) -n -e \
- 	'print if s!^#define\s+(\S+)\s+(.+)!s,\\\@$$1\\\@,$$2/*$$1*/,g;!; \
--	 print if s:^/\*\s*#undef\s+(\S+)\s*\*/.*:s,\\\@$$1\\\@,0/*!$$1*/,g;:; \
--	' < $(CONFIG_HEADER) >> inc-subst
-+	 print if s:^/\*\s*#undef\s+(\S+)\s*\*/.*:s,\\\@$$1\\\@,0/*!$$1*/,g;:;' \
-+	 < $(CONFIG_HEADER) >> inc-subst
- 
- error.h: error.h.in inc-subst
- 	$(PERL) -p inc-subst < $(srcdir)/error.h.in > error.h
diff -urN old/see/files/patch-libsee_dtoa__config.h new/see/files/patch-libsee_dtoa__config.h
--- old/see/files/patch-libsee_dtoa__config.h	2006-02-01 12:46:17.000000000 +0100
+++ new/see/files/patch-libsee_dtoa__config.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- libsee/dtoa_config.h.orig	Wed Jan 18 13:51:50 2006
-+++ libsee/dtoa_config.h	Tue Jan 31 16:52:54 2006
-@@ -12,7 +12,7 @@
- 
- #include <see/type.h>
- 
--#if defined(__i386__) || defined(__amd64__)
-+#if defined(__i386__) || defined(__amd64__) || defined(__ia64__) || defined(__alpha__)
- #   define IEEE_8087
- #endif
- 
diff -urN old/see/files/patch-libsee_input__utf8.c new/see/files/patch-libsee_input__utf8.c
--- old/see/files/patch-libsee_input__utf8.c	1970-01-01 01:00:00.000000000 +0100
+++ new/see/files/patch-libsee_input__utf8.c	2006-12-12 22:32:37.000000000 +0100
@@ -0,0 +1,20 @@
+--- libsee/input_utf8.c.orig	Wed Jan 18 12:40:19 2006
++++ libsee/input_utf8.c	Tue Dec 12 08:48:44 2006
+@@ -63,7 +63,7 @@
+ 
+ struct input_utf8 {
+ 	struct SEE_input	inp;
+-	const char *	s;
++	const unsigned char *	s;
+ };
+ 
+ static SEE_unicode_t
+@@ -141,7 +141,7 @@
+ 	inpu->inp.inputclass = &input_utf8_class;
+ 	inpu->inp.filename = NULL;
+ 	inpu->inp.first_lineno = 1;
+-	inpu->s = s;
++	inpu->s = (const unsigned char *)s;
+ 	SEE_INPUT_NEXT((struct SEE_input *)inpu);	/* prime */
+ 	return (struct SEE_input *)inpu;
+ }
diff -urN old/see/files/patch-libsee_obj__Date.c new/see/files/patch-libsee_obj__Date.c
--- old/see/files/patch-libsee_obj__Date.c	2006-04-11 17:39:41.000000000 +0200
+++ new/see/files/patch-libsee_obj__Date.c	2006-09-07 22:21:33.000000000 +0200
@@ -1,35 +1,11 @@
---- libsee/obj_Date.c.orig	Wed Jan 18 13:51:50 2006
-+++ libsee/obj_Date.c	Mon Mar 27 10:56:41 2006
-@@ -2167,20 +2167,12 @@
- DaylightSavingTA(t)
+--- libsee/obj_Date.c.orig	Sun May  7 06:43:55 2006
++++ libsee/obj_Date.c	Tue Sep  5 09:11:09 2006
+@@ -335,7 +335,7 @@
+ 	struct SEE_interpreter *interp;
  	SEE_number_t t;
  {
--	SEE_number_t ysec = t - TimeFromYear((SEE_number_t)YearFromTime(t));
--	int ily = InLeapYear(t);
--	int wstart = WeekDay(TimeFromYear((SEE_number_t)YearFromTime(t)));
--	int equiv_year = yearmap[ily][wstart];
- 	struct tm tm;
- 	time_t dst_time, nodst_time;
-+	time_t tt;
-+        tt=t/1000;
-+        tm=*localtime(&tt);
- 
--	memset(&tm, 0, sizeof tm);
--	tm.tm_sec = SecFromTime(ysec);
--	tm.tm_min = MinFromTime(ysec);
--	tm.tm_hour = HourFromTime(ysec);
--	tm.tm_mday = DateFromTime(ysec);
--	tm.tm_mon = MonthFromTime(ysec) - 1;
--	tm.tm_year = equiv_year - 1900;
- 	tm.tm_isdst = -1;
- 
- 	if (tm.tm_isdst == 0) return 0;
-@@ -2189,7 +2181,7 @@
- 	tm.tm_isdst = 0;
- 	nodst_time = mktime(&tm);
- 
--	return (dst_time - nodst_time) * 1000;
-+	return -(dst_time - nodst_time) * 1000;
+-	return t + LocalTZA(interp) + DaylightSavingTA(interp, t);
++	return t + LocalTZA(interp) - DaylightSavingTA(interp, t);
  }
  
- static void
+ /*
diff -urN old/see/pkg-descr new/see/pkg-descr
--- old/see/pkg-descr	2006-02-01 12:46:17.000000000 +0100
+++ new/see/pkg-descr	2005-10-31 15:42:19.000000000 +0100
@@ -1,6 +1,3 @@
 Library that provides an ECMAScript (JavaScript) run-time environment.
 
 WWW: http://www.adaptive-enterprises.com.au/~d/software/see/
-
-- Simun Mikecin
-numisemis at yahoo.com
diff -urN old/see/pkg-plist new/see/pkg-plist
--- old/see/pkg-plist	2006-02-01 12:46:17.000000000 +0100
+++ new/see/pkg-plist	2006-08-17 18:42:03.000000000 +0200
@@ -9,6 +9,7 @@
 include/see/intern.h
 include/see/interpreter.h
 include/see/mem.h
+include/see/module.h
 include/see/native.h
 include/see/no.h
 include/see/object.h
@@ -22,11 +23,17 @@
 lib/libsee.a
 lib/libsee.la
 lib/libsee.so
-lib/libsee.so.0
+lib/libsee.so.1
+lib/see/libFile.a
+lib/see/libFile.la
+lib/see/libFile.so
+lib/see/libFile.so.0
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%%%DOCSDIR%%/USAGE.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/see
+ at dirrm lib/see
diff -urN old/see-devel/Makefile new/see-devel/Makefile
--- old/see-devel/Makefile	2007-10-04 03:25:18.000000000 +0200
+++ new/see-devel/Makefile	2008-01-28 13:37:40.115063000 +0100
@@ -6,11 +6,9 @@
 #
 
 PORTNAME=	see
-PORTVERSION=	2.0.1131
-PORTREVISION=	3
+DISTVERSION=	2.1.1293_snapshot
 CATEGORIES=	lang devel
-MASTER_SITES=	http://www.powerband.net.au/~david.leonard/ \
-		http://freshmeat.net/redir/see/45974/url_tgz/
+MASTER_SITES=	MASTER_SITES_LOCAL
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	numisemis at yahoo.com
@@ -22,9 +20,6 @@
 
 CONFLICTS=	see-[0-9]*
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
-
 USE_LDCONFIG=	yes
 USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
diff -urN old/see-devel/distinfo new/see-devel/distinfo
--- old/see-devel/distinfo	2006-08-17 18:42:03.000000000 +0200
+++ new/see-devel/distinfo	2008-01-28 13:30:01.112891000 +0100
@@ -1,3 +1,3 @@
-MD5 (see-2.0.1131.tar.gz) = 02d8e5d7581acde2212969217d5bab96
-SHA256 (see-2.0.1131.tar.gz) = 0d398fd5f7a2e86ddbe361a80d9658bf0f0f6c11dad186953c3c064c56d12d93
-SIZE (see-2.0.1131.tar.gz) = 948647
+MD5 (see-2.1.1293_snapshot.tar.gz) = 65fb2bff5b49a95bf2907e6d636a1137
+SHA256 (see-2.1.1293_snapshot.tar.gz) = 086627e7fd71fe872f7f649ffc3c5121f9c653cbf1fab91a32eefc7b4d264cdb
+SIZE (see-2.1.1293_snapshot.tar.gz) = 1037724
diff -urN old/see-devel/files/patch-libsee_input__utf8.c new/see-devel/files/patch-libsee_input__utf8.c
--- old/see-devel/files/patch-libsee_input__utf8.c	2006-12-12 22:32:37.000000000 +0100
+++ new/see-devel/files/patch-libsee_input__utf8.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
---- libsee/input_utf8.c.orig	Wed Jan 18 12:40:19 2006
-+++ libsee/input_utf8.c	Tue Dec 12 08:48:44 2006
-@@ -63,7 +63,7 @@
- 
- struct input_utf8 {
- 	struct SEE_input	inp;
--	const char *	s;
-+	const unsigned char *	s;
- };
- 
- static SEE_unicode_t
-@@ -141,7 +141,7 @@
- 	inpu->inp.inputclass = &input_utf8_class;
- 	inpu->inp.filename = NULL;
- 	inpu->inp.first_lineno = 1;
--	inpu->s = s;
-+	inpu->s = (const unsigned char *)s;
- 	SEE_INPUT_NEXT((struct SEE_input *)inpu);	/* prime */
- 	return (struct SEE_input *)inpu;
- }
diff -urN old/see-devel/files/patch-libsee_obj__Date.c new/see-devel/files/patch-libsee_obj__Date.c
--- old/see-devel/files/patch-libsee_obj__Date.c	2006-09-07 22:21:33.000000000 +0200
+++ new/see-devel/files/patch-libsee_obj__Date.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- libsee/obj_Date.c.orig	Sun May  7 06:43:55 2006
-+++ libsee/obj_Date.c	Tue Sep  5 09:11:09 2006
-@@ -335,7 +335,7 @@
- 	struct SEE_interpreter *interp;
- 	SEE_number_t t;
- {
--	return t + LocalTZA(interp) + DaylightSavingTA(interp, t);
-+	return t + LocalTZA(interp) - DaylightSavingTA(interp, t);
- }
- 
- /*


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



More information about the freebsd-ports-bugs mailing list