From rodrigo@bebik.net  Mon Jan 28 23:29:33 2013
Return-Path: <rodrigo@bebik.net>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 633FAAF6
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jan 2013 23:29:33 +0000 (UTC)
	(envelope-from rodrigo@bebik.net)
Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [IPv6:2a01:e0c:1:1599::12])
	by mx1.freebsd.org (Postfix) with ESMTP id F2B1D690
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jan 2013 23:29:31 +0000 (UTC)
Received: from oldfaithful.bebik.local (unknown [82.227.164.69])
	by smtp3-g21.free.fr (Postfix) with ESMTP id 68624A6107
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jan 2013 00:29:26 +0100 (CET)
Received: by oldfaithful.bebik.local (Postfix, from userid 1001)
	id D85D768F8BF; Tue, 29 Jan 2013 00:24:57 +0100 (CET)
Message-Id: <20130128232457.D85D768F8BF@oldfaithful.bebik.local>
Date: Tue, 29 Jan 2013 00:24:57 +0100 (CET)
From: Rodrigo (ros) OSORIO <rodrigo@bebik.net>
Reply-To: Rodrigo (ros) OSORIO <rodrigo@bebik.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: libatomic_ops update to 7.3.a2 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         175662
>Category:       ports
>Synopsis:       devel/libatomic_ops update to 7.3.a2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 23:30:00 UTC 2013
>Closed-Date:    Thu Jan 31 05:16:30 UTC 2013
>Last-Modified:  Thu Jan 31 05:16:30 UTC 2013
>Originator:     Rodrigo (ros) OSORIO
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD sisko 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
>How-To-Repeat:
	
>Fix:
	Update port from 7.2.a6 to 7.3.a2
	Fix distfile (the gc library was splited)
	Add license informations
	Fix dependencies and WORKSRC
	Remove 2 patches from files

	



--- patch_libatomic_ops.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310627)
+++ Makefile	(working copy)
@@ -2,19 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	libatomic_ops
-PORTVERSION=	7.2.a6
-PORTREVISION=	0
+PORTVERSION=	7.3.a2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
-DISTNAME=	gc-${PORTVERSION:S/.a/alpha/}
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/.a/alpha/}
 
 MAINTAINER=	rodrigo@bebik.net
 COMMENT=	Atomic operations access library
 
-USE_AUTOTOOLS=	aclocal autoconf automake
+LICENSE=        BSD
+
+USE_PKGCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+USE_AUTOTOOLS=	aclocal
+DOCDIR=${LOCALBASE}/doc/${PORTNAME}
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/libatomic_ops
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 310627)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (gc-7.2alpha6.tar.gz) = ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16
-SIZE (gc-7.2alpha6.tar.gz) = 1241386
+SHA256 (libatomic_ops-7.3alpha2.tar.gz) = e1e95d814f98ef7b011285b670eb3a0d44e3c48847f905eb8ac68369c5648bae
+SIZE (libatomic_ops-7.3alpha2.tar.gz) = 388924
Index: files/patch-configure
===================================================================
--- files/patch-configure	(revision 0)
+++ files/patch-configure	(working copy)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-01-19 16:51:36.000000000 +0100
++++ configure	2013-01-19 16:52:07.000000000 +0100
+@@ -800,7 +800,7 @@
+ bindir='${exec_prefix}/bin'
+ sbindir='${exec_prefix}/sbin'
+ libexecdir='${exec_prefix}/libexec'
+-datarootdir='${prefix}/share'
++datarootdir='${prefix}/share/doc'
+ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
Index: files/patch-configure.ac
===================================================================
--- files/patch-configure.ac	(revision 310627)
+++ files/patch-configure.ac	(working copy)
@@ -1,22 +0,0 @@
---- configure.ac.orig	2011-09-22 22:52:50.000000000 -0700
-+++ configure.ac	2011-09-22 22:53:33.000000000 -0700
-@@ -49,6 +49,10 @@
-       PICFLAG=-fPIC
-       # Any Linux compiler had better be gcc compatible.
-       ;;
-+    *-*-freebsd*)
-+      AC_MSG_RESULT(-fPIC)
-+      PICFLAG=-fPIC
-+      ;;
-     *)
-       AC_MSG_RESULT("<none>")
-       ;;
-@@ -68,7 +72,7 @@
-     *-*-netbsd*)
-       AC_DEFINE(_PTHREADS)
-       ;;
--    *-*-openbsd* | *-*-kfreebsd*-gnu | *-*-dgux*)
-+    *-*-freebsd* | *-*-openbsd* | *-*-kfreebsd*-gnu | *-*-dgux*)
-       THREADDLLIBS=-pthread
-       ;;
-     *-*-cygwin* | *-*-darwin*)
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 310627)
+++ pkg-plist	(working copy)
@@ -1,7 +1,7 @@
 include/atomic_ops.h
 include/atomic_ops/generalize-small.h
 include/atomic_ops/generalize.h
-include/atomic_ops/sysdeps/README
+include/atomic_ops/ao_version.h
 include/atomic_ops/sysdeps/acquire_release_volatile.h
 include/atomic_ops/sysdeps/aligned_atomic_load_store.h
 include/atomic_ops/sysdeps/all_acquire_release_volatile.h
@@ -22,6 +22,7 @@
 include/atomic_ops/sysdeps/gcc/m68k.h
 include/atomic_ops/sysdeps/gcc/mips.h
 include/atomic_ops/sysdeps/gcc/powerpc.h
+include/atomic_ops/sysdeps/gcc/hexagon.h
 include/atomic_ops/sysdeps/gcc/s390.h
 include/atomic_ops/sysdeps/gcc/sh.h
 include/atomic_ops/sysdeps/gcc/sparc.h
--- patch_libatomic_ops.diff ends here ---

>Release-Note:
>Audit-Trail:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175662: commit references a PR
Date: Thu, 31 Jan 2013 05:09:34 +0000 (UTC)

 Author: danfe
 Date: Thu Jan 31 05:09:25 2013
 New Revision: 311287
 URL: http://svnweb.freebsd.org/changeset/ports/311287
 
 Log:
   - Update to version 7.3alpha2
   - Define LICENSE, utilize DISTVERSION, etc.
   - Conditionally install documentation
   - Reindent port description while here
   
   PR:		ports/175662
   Submitted by:	maintainer
 
 Deleted:
   head/devel/libatomic_ops/files/
 Modified:
   head/devel/libatomic_ops/Makefile
   head/devel/libatomic_ops/distinfo
   head/devel/libatomic_ops/pkg-descr
   head/devel/libatomic_ops/pkg-plist
 
 Modified: head/devel/libatomic_ops/Makefile
 ==============================================================================
 --- head/devel/libatomic_ops/Makefile	Thu Jan 31 03:51:58 2013	(r311286)
 +++ head/devel/libatomic_ops/Makefile	Thu Jan 31 05:09:25 2013	(r311287)
 @@ -1,20 +1,37 @@
 -# Created by: stas
 +# Created by: Stanislav Sedov <stas@FreeBSD.org>
  # $FreeBSD$
  
  PORTNAME=	libatomic_ops
 -PORTVERSION=	7.2.a6
 -PORTREVISION=	0
 +DISTVERSION=	7.3alpha2
  CATEGORIES=	devel
  MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
 -DISTNAME=	gc-${PORTVERSION:S/.a/alpha/}
  
  MAINTAINER=	rodrigo@bebik.net
  COMMENT=	Atomic operations access library
  
 -USE_AUTOTOOLS=	aclocal autoconf automake
 +LICENSE=	BSD GPLv2
 +LICENSE_COMB=	multi
 +
  GNU_CONFIGURE=	yes
  USE_LDCONFIG=	yes
 +USE_GNOME=	gnomehack
 +
 +OPTIONS_DEFINE=	DOCS
 +
 +.include <bsd.port.options.mk>
  
 -WRKSRC=		${WRKDIR}/${DISTNAME}/libatomic_ops
 +post-patch:
 +# Inhibit installation of extra copy of GPL
 +	${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
 +		${WRKSRC}/Makefile.in
 +.if ${PORT_OPTIONS:MDOCS}
 +# Fix documentation installation directory
 +	${REINPLACE_CMD} -E 's,pkgdata,pkgdoc,g ; s,\(datadir.*,(docdir),' \
 +		${WRKSRC}/doc/Makefile.in
 +.else
 +# If documentation is not wanted, just disable it instead of fixing
 +	${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
 +		${WRKSRC}/doc/Makefile.in
 +.endif
  
  .include <bsd.port.mk>
 
 Modified: head/devel/libatomic_ops/distinfo
 ==============================================================================
 --- head/devel/libatomic_ops/distinfo	Thu Jan 31 03:51:58 2013	(r311286)
 +++ head/devel/libatomic_ops/distinfo	Thu Jan 31 05:09:25 2013	(r311287)
 @@ -1,2 +1,2 @@
 -SHA256 (gc-7.2alpha6.tar.gz) = ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16
 -SIZE (gc-7.2alpha6.tar.gz) = 1241386
 +SHA256 (libatomic_ops-7.3alpha2.tar.gz) = e1e95d814f98ef7b011285b670eb3a0d44e3c48847f905eb8ac68369c5648bae
 +SIZE (libatomic_ops-7.3alpha2.tar.gz) = 388924
 
 Modified: head/devel/libatomic_ops/pkg-descr
 ==============================================================================
 --- head/devel/libatomic_ops/pkg-descr	Thu Jan 31 03:51:58 2013	(r311286)
 +++ head/devel/libatomic_ops/pkg-descr	Thu Jan 31 05:09:25 2013	(r311287)
 @@ -1,15 +1,14 @@
 -This package provides semi-portable access to hardware provided
 -atomic memory operations.  These might allow you to write code:
 +This package provides semi-portable access to hardware provided atomic memory
 +operations.  These might allow you to write code:
  
 -- That does more interesting things in signal handlers.
 -- Makes more effective use of multiprocessors by allowing you to write
 -  clever lock-free code.  Note that such code is very difficult to get
 -  right, and will unavoidably be less portable than lock-based code.  It
 -  is also not always faster than lock-based code.  But it may occasionally
 -  be a large performance win.
 -- To experiment with new and much better thread programming paradigms, etc.
 +  - That does more interesting things in signal handlers
 +  - Makes more effective use of multiprocessors by allowing you to write
 +    clever lock-free code.  Note that such code is very difficult to get
 +    right, and will unavoidably be less portable than lock-based code.  It
 +    is also not always faster than lock-based code.  But it may occasionally
 +    be a large performance win
 +  - To experiment with new and much better thread programming paradigms, etc.
  
 -For details and licensing restrictions see the files in the doc
 -subdirectory.
 +For details and licensing restrictions see the files in the doc subdirectory.
  
  WWW: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 
 Modified: head/devel/libatomic_ops/pkg-plist
 ==============================================================================
 --- head/devel/libatomic_ops/pkg-plist	Thu Jan 31 03:51:58 2013	(r311286)
 +++ head/devel/libatomic_ops/pkg-plist	Thu Jan 31 05:09:25 2013	(r311287)
 @@ -1,7 +1,7 @@
  include/atomic_ops.h
 +include/atomic_ops/ao_version.h
  include/atomic_ops/generalize-small.h
  include/atomic_ops/generalize.h
 -include/atomic_ops/sysdeps/README
  include/atomic_ops/sysdeps/acquire_release_volatile.h
  include/atomic_ops/sysdeps/aligned_atomic_load_store.h
  include/atomic_ops/sysdeps/all_acquire_release_volatile.h
 @@ -17,6 +17,7 @@ include/atomic_ops/sysdeps/gcc/alpha.h
  include/atomic_ops/sysdeps/gcc/arm.h
  include/atomic_ops/sysdeps/gcc/avr32.h
  include/atomic_ops/sysdeps/gcc/cris.h
 +include/atomic_ops/sysdeps/gcc/hexagon.h
  include/atomic_ops/sysdeps/gcc/hppa.h
  include/atomic_ops/sysdeps/gcc/ia64.h
  include/atomic_ops/sysdeps/gcc/m68k.h
 @@ -54,14 +55,16 @@ include/atomic_ops/sysdeps/test_and_set_
  include/atomic_ops_malloc.h
  include/atomic_ops_stack.h
  lib/libatomic_ops.a
 +lib/libatomic_ops.la
  lib/libatomic_ops_gpl.a
 -%%DOCSDIR%%/COPYING
 -%%DOCSDIR%%/LICENSING.txt
 -%%DOCSDIR%%/README.txt
 -%%DOCSDIR%%/README_malloc.txt
 -%%DOCSDIR%%/README_stack.txt
 -%%DOCSDIR%%/README_win32.txt
 -@dirrm %%DOCSDIR%%
 +lib/libatomic_ops_gpl.la
 +libdata/pkgconfig/atomic_ops.pc
 +%%PORTDOCS%%%%DOCSDIR%%/LICENSING.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README_malloc.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README_stack.txt
 +%%PORTDOCS%%%%DOCSDIR%%/README_win32.txt
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
  @dirrm include/atomic_ops/sysdeps/sunc
  @dirrm include/atomic_ops/sysdeps/msftc
  @dirrm include/atomic_ops/sysdeps/icc
 _______________________________________________
 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: open->closed 
State-Changed-By: danfe 
State-Changed-When: Thu Jan 31 05:16:13 UTC 2013 
State-Changed-Why:  
Committed with modifications, thanks! 

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