Bug 175662 - devel/libatomic_ops update to 7.3.a2
Summary: devel/libatomic_ops update to 7.3.a2
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 23:30 UTC by Rodrigo OSORIO
Modified: 2013-01-31 05:16 UTC (History)
0 users

See Also:


Attachments
patch_libatomic_ops.diff (3.39 KB, patch)
2013-01-28 23:30 UTC, Rodrigo OSORIO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo OSORIO 2013-01-28 23:30:00 UTC

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
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-01-31 05:09:34 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"
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2013-01-31 05:16:13 UTC
State Changed
From-To: open->closed

Committed with modifications, thanks!