From linpc@dev.linpc.org  Thu Feb  7 07:05:20 2013
Return-Path: <linpc@dev.linpc.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 506FCFE1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Feb 2013 07:05:20 +0000 (UTC)
	(envelope-from linpc@dev.linpc.org)
Received: from dev.linpc.org (sq1.cs.nctu.edu.tw [140.113.208.226])
	by mx1.freebsd.org (Postfix) with ESMTP id D428E3F3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Feb 2013 07:05:19 +0000 (UTC)
Received: by dev.linpc.org (Postfix, from userid 1001)
	id 830654CD3D; Thu,  7 Feb 2013 15:05:14 +0800 (CST)
Message-Id: <20130207070514.830654CD3D@dev.linpc.org>
Date: Thu,  7 Feb 2013 15:05:14 +0800 (CST)
From: Po-Chien Lin <linpc@cs.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: armin@frozen-zone.org
Subject: [PATCH] devel/libfirm: update to 1.21.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify: armin@frozen-zone.org

>Number:         175919
>Category:       ports
>Synopsis:       [PATCH] devel/libfirm: update to 1.21.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sperber
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 07 07:10:00 UTC 2013
>Closed-Date:    Tue Apr 30 17:51:01 UTC 2013
>Last-Modified:  Tue Apr 30 17:51:01 UTC 2013
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dev.linpc.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Sat Jan  5 22:32:49 CST
>Description:
- Update to 1.21.0
- Switch to OptionsNG
- Update pkg-descr and WWW:

>How-To-Repeat:
>Fix:

--- libfirm-1.21.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/Makefile ./Makefile
--- /usr/ports/devel/libfirm/Makefile	2013-01-06 07:01:26.440008152 +0800
+++ ./Makefile	2013-02-07 14:35:42.607072173 +0800
@@ -1,12 +1,8 @@
-# New ports collection makefile for: libFIRM
-# Date created:         22 Nov 2008
-# Whom:                 Christoph Mallon <christoph.mallon@gmx.de>
-#
-# $FreeBSD: head/devel/libfirm/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
+# Created by: Christoph Mallon <christoph.mallon@gmx.de>
+# $FreeBSD: ports/devel/libfirm/Makefile,v 1.8 2012/11/17 05:55:54 svnexp Exp $
 
 PORTNAME=	libfirm
-PORTVERSION=	1.20.0
+PORTVERSION=	1.21.0
 CATEGORIES=	devel lang
 MASTER_SITES=	SF
 
@@ -19,17 +15,18 @@
 USE_AUTOTOOLS=	autoconf
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack pkgconfig
+USE_GNOME=	gnomehack
+USE_PKGCONFIG=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS=	DEBUG "Build a debug version of libFIRM" OFF
+OPTIONS_DEFINE=	DEBUG
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.ifdef WITH_DEBUG
+.if ${PORT_OPTIONS:MDEBUG}
 CONFIGURE_ARGS+=	--enable-debug
 .else
 CONFIGURE_ARGS+=	--disable-debug
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/distinfo ./distinfo
--- /usr/ports/devel/libfirm/distinfo	2013-01-06 07:01:26.440008152 +0800
+++ ./distinfo	2013-02-07 11:37:45.123343975 +0800
@@ -1,2 +1,2 @@
-SHA256 (libfirm-1.20.0.tar.bz2) = 2c3e7841dc447c654b76578f3b58379887bebe0d1011dd94c16e0d1b5f0ea7e9
-SIZE (libfirm-1.20.0.tar.bz2) = 1471229
+SHA256 (libfirm-1.21.0.tar.bz2) = 5c126f69e6a985b54aa9f0a919ab68575f18fc3d851c2d5ff71ffbf414e29812
+SIZE (libfirm-1.21.0.tar.bz2) = 1457097
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/files/patch-configure.ac ./files/patch-configure.ac
--- /usr/ports/devel/libfirm/files/patch-configure.ac	2013-01-06 07:01:26.450684274 +0800
+++ ./files/patch-configure.ac	2013-02-07 11:58:00.888613352 +0800
@@ -1,6 +1,6 @@
 --- configure.ac.orig	2011-08-12 11:46:34.000000000 +0100
 +++ configure.ac	2011-08-12 11:46:48.000000000 +0100
-@@ -90,9 +90,6 @@
+@@ -89,9 +89,6 @@
  dnl ----------------------
  AC_PROG_CC
  
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/pkg-descr ./pkg-descr
--- /usr/ports/devel/libfirm/pkg-descr	2013-01-06 07:01:26.440008152 +0800
+++ ./pkg-descr	2013-02-07 14:41:46.748313606 +0800
@@ -1,24 +1,24 @@
-libFIRM provides a graph-based intermediate representation (IR), which operates
-exclusively in SSA-form, starting at IR construction until assembler code
-emission.  It offers many analyses and optimizations, provides extensive
-debugging support and includes a backend framework.
+The Firm library implements the Firm intermediate representation (IR). libFirm
+contains algorithms for construction of the SSA form directly from the
+attributed syntax tree. A set of analyses and optimisation phases is provided.
+This version includes a complete backend for the IA32 architecture, as well as
+some unfinished backends for SPARC, ARM
 
+* support for object oriented type hierarchies
 * analyses: dominance, loop tree, execution frequency, control dependencies,
   call graph, rapid type, def-use, alias analysis, class hierarchy analysis
-* optimizations: dead code elimination (happens implicitly), constant folding,
-  local common subexpression elimination, arithmetic identities (happens on the
-  fly), unreachable code elimination, global common subexpression elimination,
-  code placement, strength reduction, scalar replacement, if-conversion,
-  load/store optimization, control flow optimizations, reassociation, partial
-  condition evaluation, tail recursion elimination, inlining, procedure cloning
+* Optimisations: constant folding, local common subexpression elimination,
+  global common subexpression elimination, code placement, operator strength
+  reduction, scalar replacement, load/store, control flow optimisations,
+  if-conversion, partial condition evaluation, reassociation, tail recursion
+  elimination, inlining, procedure cloning, dead code elimination, ...
 * enhanced debugging support: extensive checkers, breakpoints on node creation,
   entity creation, graph dumping
 * lowering of intrinsics, double word arithmetics, bitfields
-* generic backend features:
-  * novel SSA based register allocator
-  * several SSA copy coalescing and spilling algorithms
-  * algorithms for instruction and basic block scheduling
-* working ia32 backend, unfinished backends for ARM, MIPS, PPC32
+* backend with SSA based register allocation including several algorithms for
+  spilling and copy coalescing. Instruction and block scheduling, support for
+  ABI handling.
+* working ia32 backend with support for x87 and SSE2 floating point
 * handwritten recursive descent C90/C99 frontend available (lang/cparser)
 
-WWW: http://libfirm.org/
+WWW: http://sourceforge.net/projects/libfirm/
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/pkg-plist ./pkg-plist
--- /usr/ports/devel/libfirm/pkg-plist	2013-01-06 07:01:26.440008152 +0800
+++ ./pkg-plist	2013-02-07 12:07:03.663337271 +0800
@@ -1,10 +1,8 @@
 include/libfirm/adt/array.h
 include/libfirm/adt/bipartite.h
-include/libfirm/adt/cpset.h
 include/libfirm/adt/gaussjordan.h
 include/libfirm/adt/gaussseidel.h
 include/libfirm/adt/hashptr.h
-include/libfirm/adt/hashset.h
 include/libfirm/adt/hungarian.h
 include/libfirm/adt/list.h
 include/libfirm/adt/obst.h
@@ -14,7 +12,6 @@
 include/libfirm/adt/pmap.h
 include/libfirm/adt/pqueue.h
 include/libfirm/adt/pset.h
-include/libfirm/adt/pset_new.h
 include/libfirm/adt/set.h
 include/libfirm/adt/unionfind.h
 include/libfirm/adt/xmalloc.h
@@ -24,7 +21,6 @@
 include/libfirm/callgraph.h
 include/libfirm/cdep.h
 include/libfirm/cgana.h
-include/libfirm/compound_path.h
 include/libfirm/dbginfo.h
 include/libfirm/end.h
 include/libfirm/execfreq.h
@@ -42,7 +38,6 @@
 include/libfirm/irdump.h
 include/libfirm/iredgekinds.h
 include/libfirm/iredges.h
-include/libfirm/irextbb.h
 include/libfirm/irflag.h
 include/libfirm/irgmod.h
 include/libfirm/irgopt.h
@@ -50,7 +45,6 @@
 include/libfirm/irgwalk.h
 include/libfirm/irhooks.h
 include/libfirm/irio.h
-include/libfirm/irpass.h
 include/libfirm/irloop.h
 include/libfirm/irmemory.h
 include/libfirm/irmode.h
@@ -59,6 +53,7 @@
 include/libfirm/iropt.h
 include/libfirm/iroptimize.h
 include/libfirm/irouts.h
+include/libfirm/irpass.h
 include/libfirm/irprintf.h
 include/libfirm/irprog.h
 include/libfirm/irtypeinfo.h
@@ -66,6 +61,7 @@
 include/libfirm/lowering.h
 include/libfirm/nodeops.h
 include/libfirm/opcodes.h
+include/libfirm/statev.h
 include/libfirm/timing.h
 include/libfirm/trouts.h
 include/libfirm/tv.h
--- libfirm-1.21.0.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Feb 7 07:10:10 UTC 2013 
Responsible-Changed-Why:  
swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175919 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Feb 7 07:10:13 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175919 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: armin@frozen-zone.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/175919: [PATCH] devel/libfirm: update to 1.21.0
Date: Thu, 7 Feb 2013 07:10:12 UT

 Maintainer of devel/libfirm,
 
 Please note that PR ports/175919 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175919
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: swills->sperber 
Responsible-Changed-By: sperber 
Responsible-Changed-When: Thu Feb 7 07:53:24 UTC 2013 
Responsible-Changed-Why:  
I'm the maintainer for this port - I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175919 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175919: commit references a PR
Date: Tue, 30 Apr 2013 17:46:57 +0000 (UTC)

 Author: sperber
 Date: Tue Apr 30 17:46:48 2013
 New Revision: 316955
 URL: http://svnweb.freebsd.org/changeset/ports/316955
 
 Log:
   - Update to 1.21.0
   - Switch to OptionsNG
   - Update pkg-descr and WWW:
   - Trim Makefile headers
   - Add USES= pkgconfig
   
   - Update MAINTAINER to my FreeBSD address
   
   PR:           ports/175919
   Submitted by: Po-Chien Lin <linpc _AT_ cs.nctu.edu.tw>
   Approved by:  beat (mentor)
 
 Modified:
   head/devel/libfirm/Makefile   (contents, props changed)
   head/devel/libfirm/distinfo   (contents, props changed)
   head/devel/libfirm/files/patch-configure.ac   (contents, props changed)
   head/devel/libfirm/pkg-descr   (contents, props changed)
   head/devel/libfirm/pkg-plist   (contents, props changed)
 
 Modified: head/devel/libfirm/Makefile
 ==============================================================================
 --- head/devel/libfirm/Makefile	Tue Apr 30 17:43:43 2013	(r316954)
 +++ head/devel/libfirm/Makefile	Tue Apr 30 17:46:48 2013	(r316955)
 @@ -1,16 +1,12 @@
 -# New ports collection makefile for: libFIRM
 -# Date created:         22 Nov 2008
 -# Whom:                 Christoph Mallon <christoph.mallon@gmx.de>
 -#
 +# Created by: Christoph Mallon <christoph.mallon@gmx.de>
  # $FreeBSD$
 -#
  
  PORTNAME=	libfirm
 -PORTVERSION=	1.20.0
 +PORTVERSION=	1.21.0
  CATEGORIES=	devel lang
  MASTER_SITES=	SF
  
 -MAINTAINER=	armin@frozen-zone.org
 +MAINTAINER=	sperber@FreeBSD.org
  COMMENT=	A graph-based SSA intermediate representation library for compilers
  
  LICENSE=	GPLv2 LGPL21
 @@ -19,17 +15,18 @@ LICENSE_COMB=	multi
  USE_AUTOTOOLS=	autoconf
  USE_BZIP2=	yes
  USE_GMAKE=	yes
 -USE_GNOME=	gnomehack pkgconfig
 +USE_GNOME=	gnomehack
  USE_LDCONFIG=	yes
 +USES=		pkgconfig
  
 -OPTIONS=	DEBUG "Build a debug version of libFIRM" OFF
 +OPTIONS_DEFINE=	DEBUG
  
 -.include <bsd.port.pre.mk>
 +.include <bsd.port.options.mk>
  
 -.ifdef WITH_DEBUG
 +.if ${PORT_OPTIONS:MDEBUG}
  CONFIGURE_ARGS+=	--enable-debug
  .else
  CONFIGURE_ARGS+=	--disable-debug
  .endif
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/devel/libfirm/distinfo
 ==============================================================================
 --- head/devel/libfirm/distinfo	Tue Apr 30 17:43:43 2013	(r316954)
 +++ head/devel/libfirm/distinfo	Tue Apr 30 17:46:48 2013	(r316955)
 @@ -1,2 +1,2 @@
 -SHA256 (libfirm-1.20.0.tar.bz2) = 2c3e7841dc447c654b76578f3b58379887bebe0d1011dd94c16e0d1b5f0ea7e9
 -SIZE (libfirm-1.20.0.tar.bz2) = 1471229
 +SHA256 (libfirm-1.21.0.tar.bz2) = 5c126f69e6a985b54aa9f0a919ab68575f18fc3d851c2d5ff71ffbf414e29812
 +SIZE (libfirm-1.21.0.tar.bz2) = 1457097
 
 Modified: head/devel/libfirm/files/patch-configure.ac
 ==============================================================================
 --- head/devel/libfirm/files/patch-configure.ac	Tue Apr 30 17:43:43 2013	(r316954)
 +++ head/devel/libfirm/files/patch-configure.ac	Tue Apr 30 17:46:48 2013	(r316955)
 @@ -1,6 +1,6 @@
  --- configure.ac.orig	2011-08-12 11:46:34.000000000 +0100
  +++ configure.ac	2011-08-12 11:46:48.000000000 +0100
 -@@ -90,9 +90,6 @@
 +@@ -89,9 +89,6 @@
   dnl ----------------------
   AC_PROG_CC
   
 
 Modified: head/devel/libfirm/pkg-descr
 ==============================================================================
 --- head/devel/libfirm/pkg-descr	Tue Apr 30 17:43:43 2013	(r316954)
 +++ head/devel/libfirm/pkg-descr	Tue Apr 30 17:46:48 2013	(r316955)
 @@ -1,24 +1,24 @@
 -libFIRM provides a graph-based intermediate representation (IR), which operates
 -exclusively in SSA-form, starting at IR construction until assembler code
 -emission.  It offers many analyses and optimizations, provides extensive
 -debugging support and includes a backend framework.
 +The Firm library implements the Firm intermediate representation (IR). libFirm
 +contains algorithms for construction of the SSA form directly from the
 +attributed syntax tree. A set of analyses and optimisation phases is provided.
 +This version includes a complete backend for the IA32 architecture, as well as
 +some unfinished backends for SPARC, ARM
  
 +* support for object oriented type hierarchies
  * analyses: dominance, loop tree, execution frequency, control dependencies,
    call graph, rapid type, def-use, alias analysis, class hierarchy analysis
 -* optimizations: dead code elimination (happens implicitly), constant folding,
 -  local common subexpression elimination, arithmetic identities (happens on the
 -  fly), unreachable code elimination, global common subexpression elimination,
 -  code placement, strength reduction, scalar replacement, if-conversion,
 -  load/store optimization, control flow optimizations, reassociation, partial
 -  condition evaluation, tail recursion elimination, inlining, procedure cloning
 +* Optimisations: constant folding, local common subexpression elimination,
 +  global common subexpression elimination, code placement, operator strength
 +  reduction, scalar replacement, load/store, control flow optimisations,
 +  if-conversion, partial condition evaluation, reassociation, tail recursion
 +  elimination, inlining, procedure cloning, dead code elimination, ...
  * enhanced debugging support: extensive checkers, breakpoints on node creation,
    entity creation, graph dumping
  * lowering of intrinsics, double word arithmetics, bitfields
 -* generic backend features:
 -  * novel SSA based register allocator
 -  * several SSA copy coalescing and spilling algorithms
 -  * algorithms for instruction and basic block scheduling
 -* working ia32 backend, unfinished backends for ARM, MIPS, PPC32
 +* backend with SSA based register allocation including several algorithms for
 +  spilling and copy coalescing. Instruction and block scheduling, support for
 +  ABI handling.
 +* working ia32 backend with support for x87 and SSE2 floating point
  * handwritten recursive descent C90/C99 frontend available (lang/cparser)
  
 -WWW: http://libfirm.org/
 +WWW: http://sourceforge.net/projects/libfirm/
 
 Modified: head/devel/libfirm/pkg-plist
 ==============================================================================
 --- head/devel/libfirm/pkg-plist	Tue Apr 30 17:43:43 2013	(r316954)
 +++ head/devel/libfirm/pkg-plist	Tue Apr 30 17:46:48 2013	(r316955)
 @@ -1,10 +1,8 @@
  include/libfirm/adt/array.h
  include/libfirm/adt/bipartite.h
 -include/libfirm/adt/cpset.h
  include/libfirm/adt/gaussjordan.h
  include/libfirm/adt/gaussseidel.h
  include/libfirm/adt/hashptr.h
 -include/libfirm/adt/hashset.h
  include/libfirm/adt/hungarian.h
  include/libfirm/adt/list.h
  include/libfirm/adt/obst.h
 @@ -14,7 +12,6 @@ include/libfirm/adt/plist.h
  include/libfirm/adt/pmap.h
  include/libfirm/adt/pqueue.h
  include/libfirm/adt/pset.h
 -include/libfirm/adt/pset_new.h
  include/libfirm/adt/set.h
  include/libfirm/adt/unionfind.h
  include/libfirm/adt/xmalloc.h
 @@ -24,7 +21,6 @@ include/libfirm/begin.h
  include/libfirm/callgraph.h
  include/libfirm/cdep.h
  include/libfirm/cgana.h
 -include/libfirm/compound_path.h
  include/libfirm/dbginfo.h
  include/libfirm/end.h
  include/libfirm/execfreq.h
 @@ -42,7 +38,6 @@ include/libfirm/irdom.h
  include/libfirm/irdump.h
  include/libfirm/iredgekinds.h
  include/libfirm/iredges.h
 -include/libfirm/irextbb.h
  include/libfirm/irflag.h
  include/libfirm/irgmod.h
  include/libfirm/irgopt.h
 @@ -50,7 +45,6 @@ include/libfirm/irgraph.h
  include/libfirm/irgwalk.h
  include/libfirm/irhooks.h
  include/libfirm/irio.h
 -include/libfirm/irpass.h
  include/libfirm/irloop.h
  include/libfirm/irmemory.h
  include/libfirm/irmode.h
 @@ -59,6 +53,7 @@ include/libfirm/irop.h
  include/libfirm/iropt.h
  include/libfirm/iroptimize.h
  include/libfirm/irouts.h
 +include/libfirm/irpass.h
  include/libfirm/irprintf.h
  include/libfirm/irprog.h
  include/libfirm/irtypeinfo.h
 @@ -66,6 +61,7 @@ include/libfirm/irverify.h
  include/libfirm/lowering.h
  include/libfirm/nodeops.h
  include/libfirm/opcodes.h
 +include/libfirm/statev.h
  include/libfirm/timing.h
  include/libfirm/trouts.h
  include/libfirm/tv.h
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: sperber 
State-Changed-When: Tue Apr 30 17:50:58 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175919 
>Unformatted:
