df15301c3c
- Use PORTVERSION instead of DISTVERSION - Add patch to fix boehm-gc on sparc Log: - Eliminate 'signed-to-unsigned value extension' compiler warning in malloc. - Eliminate 'variable set but not used' Cppcheck warnings in test_stack. - Fix GCC 5.x compatibility for AArch64 double-wide primitives. - Fix makefile preventing AO_pause undefined in libatomic_ops_gpl. - Fix missing casts to match printf format specifier in test_atomic. - Fix missing output folder on making auto-generated test files (Automake). - Fix typo in configure.ac (in description of AO_ASM_X64_AVAILABLE). - Minor fix of code alignment in mips AO_compare_and_swap. - Remove TODO file. - Restore contribution info in ChangeLog for authors not listed in git log. Submitted by: cpm Reviewed by: amdmi3, feld, junovitch (mentors) Approved by: maintainer timeout (3 weeks) Differential Revision: D7311
36 lines
890 B
Makefile
36 lines
890 B
Makefile
# Created by: Stanislav Sedov <stas@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libatomic_ops
|
|
PORTVERSION= 7.4.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Atomic operations access library
|
|
|
|
LICENSE= BSD2CLAUSE GPLv2
|
|
LICENSE_COMB= multi
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= libtool pathfix
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
# Inhibit installation of extra copy of GPL
|
|
@${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-patch-DOCS-on:
|
|
# Fix documentation installation directory
|
|
@${REINPLACE_CMD} -e 's,pkgdata,pkgdoc,g ; s,(datadir.*,(docdir),' \
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
post-patch-DOCS-off:
|
|
# If documentation is not wanted, just disable it instead of fixing
|
|
@${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|