Bug 102145 - [maintainer-update] lang/see-devel: unbreak and update to 2.0
Summary: [maintainer-update] lang/see-devel: unbreak and update to 2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 14:20 UTC by Šimun Mikecin
Modified: 2006-08-17 17:42 UTC (History)
0 users

See Also:


Attachments
file.diff (4.85 KB, patch)
2006-08-16 14:20 UTC, Šimun Mikecin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Šimun Mikecin 2006-08-16 14:20:15 UTC
- unbreak broken port
- update to version 2.0
- updated maintainers e-mail address
- changed -O2 to -O3 when compiling with WITH_OPTIMIZED_CFLAGS=true
- USE_LDCONFIG instead of INSTALLS_SHLIB
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-16 14:21:01 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-16 14:21:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Simun Mikecin 2006-08-16 14:23:44 UTC
I approve it. I am the author of that PR :)
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2006-08-16 17:34:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 5 Šimun Mikecin 2006-08-17 10:45:37 UTC
This is a diff that also marks it broken on 4.x:

diff -urN see-devel.old/Makefile see-devel/Makefile
--- see-devel.old/Makefile	Sun Jul 16 23:09:05 2006
+++ see-devel/Makefile	Thu Aug 17 11:40:36 2006
@@ -1,26 +1,20 @@
 # New ports collection makefile for:   see-devel
 # Date created:        29 Oct 2005
-# Whom:                Simun Mikecin <sime@logos.hr>
+# Whom:                Simun Mikecin <numisemis@yahoo.com>
 #
 # $FreeBSD: ports/lang/see-devel/Makefile,v 1.6 2006/07/16 21:09:05 linimon Exp $
 #
 
 PORTNAME=	see
-PORTVERSION=	1.3
-PORTREVISION=	1
+PORTVERSION=	2.0.1131
 CATEGORIES=	lang devel
-MASTER_SITES=	ftp://ftp.osuosl.org/pub/FreeBSD/distfiles/ \
-		http://mirror.arcticnetwork.ca/pub/FreeBSD/distfiles/ \
-		http://ftp3.ie.freebsd.org/pub/FreeBSD/distfiles/ \
-		http://www.adaptive-enterprises.com.au/~d/software/see/
+MASTER_SITES=	http://www.adaptive-enterprises.com.au/~d/software/see/ \
+		http://freshmeat.net/redir/see/45974/url_tgz/
 PKGNAMESUFFIX=	-devel
-DISTNAME=	${PORTNAME}-${PORTVERSION}-20050609-gerry
 
-MAINTAINER=	sime@logos.hr
+MAINTAINER=	numisemis@yahoo.com
 COMMENT=	Simple ECMAScript Engine (SEE)
 
-BROKEN=		fails to install
-
 OPTIONS=	GC "Use Boehm-Weiser garbage collection package" on \
 		OPTIMIZED_CFLAGS "Enable some additional optimizations" off
 
@@ -29,9 +23,7 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
-USE_ZIP=	yes
-INSTALLS_SHLIB=	yes
-USE_GMAKE=	yes
+USE_LDCONFIG=	yes
 USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
 
@@ -41,8 +33,12 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500000
+BROKEN=	does not build on 4.x
+.endif
+
 .if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+=	-O2 -fomit-frame-pointer
+CFLAGS+=	-O3 -fomit-frame-pointer
 .endif
 
 .if defined(WITH_GC)
@@ -54,7 +50,7 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='dleonard@users|PACKAGE_BUGREPORT='dleonard\\\@users|"
\
+	@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
 		${WRKSRC}/configure
 
 .if !defined(NOPORTDOCS)
diff -urN see-devel.old/distinfo see-devel/distinfo
--- see-devel.old/distinfo	Sun Jan 22 13:42:22 2006
+++ see-devel/distinfo	Thu Aug 17 11:32:14 2006
@@ -1,3 +1,3 @@
-MD5 (see-1.3-20050609-gerry.zip) = 480aa963913ef1d7a2180e6e385e7de8
-SHA256 (see-1.3-20050609-gerry.zip) =
9bd92b364bf4e4bbb4a13e39dc13d7df43e47664f4da436718ec5642377dda13
-SIZE (see-1.3-20050609-gerry.zip) = 600545
+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 see-devel.old/files/patch-include_see_Makefile.in
see-devel/files/patch-include_see_Makefile.in
--- see-devel.old/files/patch-include_see_Makefile.in	Mon Oct 31 15:42:20 2005
+++ see-devel/files/patch-include_see_Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
---- include/see/Makefile.in.orig	Mon Oct 31 14:07:09 2005
-+++ include/see/Makefile.in	Mon Oct 31 14:11:01 2005
-@@ -405,7 +405,10 @@
- 	$(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
-+	' < $(CONFIG_HEADER) > inc-subst.tmp
-+	${PERL} -n -e \
-+	's/[^\\]\@/\\\@/g; print; \
-+	' < inc-subst.tmp > inc-subst
- 
- error.h: error.h.in inc-subst
- 	$(PERL) -p inc-subst < $(srcdir)/error.h.in > error.h
diff -urN see-devel.old/files/patch-libsee_dtoa__config.h
see-devel/files/patch-libsee_dtoa__config.h
--- see-devel.old/files/patch-libsee_dtoa__config.h	Mon Oct 31 15:42:20 2005
+++ see-devel/files/patch-libsee_dtoa__config.h	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- libsee/dtoa_config.h.orig	Tue Apr 26 13:37:43 2005
-+++ libsee/dtoa_config.h	Sat Oct 29 16:07:56 2005
-@@ -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 see-devel.old/pkg-plist see-devel/pkg-plist
--- see-devel.old/pkg-plist	Thu Feb 23 11:37:44 2006
+++ see-devel/pkg-plist	Thu Aug 17 11:32:14 2006
@@ -1,6 +1,7 @@
 bin/libsee-config
 bin/see-shell
 include/see/cfunction.h
+include/see/context.h
 include/see/debug.h
 include/see/error.h
 include/see/eval.h
@@ -8,18 +9,25 @@
 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
 include/see/see.h
 include/see/string.h
+include/see/system.h
 include/see/try.h
 include/see/type.h
 include/see/value.h
+include/see/version.h
 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
@@ -28,3 +36,4 @@
 %%PORTDOCS%%%%DOCSDIR%%/USAGE.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/see
+@dirrm lib/see


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
Comment 6 Rong-En Fan freebsd_committer freebsd_triage 2006-08-17 17:42:11 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!