View | Details | Raw Unified | Return to bug 192877
Collapse All | Expand All

(-)Makefile (-9 / +8 lines)
Lines 2-31 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libhoard
4
PORTNAME=	libhoard
5
PORTVERSION=	3.8
5
PORTVERSION=	3.10
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://www.cs.umass.edu/~emery/hoard/hoard-${PORTVERSION}/source/
7
MASTER_SITES=	https://github.com/emeryberger/Hoard/releases/download/${PORTVERSION}/
8
DISTNAME=	hoard-38
8
DISTNAME=	Hoard-${PORTVERSION}-source
9
9
10
MAINTAINER= ports@FreeBSD.org
10
MAINTAINER=	uffe@uffe.org
11
COMMENT=	Fast, scalable, and memory-efficient allocator for MP
11
COMMENT=	Fast, scalable, and memory-efficient allocator for MP
12
12
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
ONLY_FOR_ARCHS=	i386
16
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
17
WRKSRC=		${WRKDIR}/${DISTNAME}/src
16
WRKSRC=		${WRKDIR}/Hoard/src
18
17
19
ALL_TARGET=	freebsd
18
ALL_TARGET=	freebsd
20
19
21
PLIST_FILES=	lib/libhoard.so lib/libhoard.so.1
20
PLIST_FILES=	lib/libhoard.so lib/libhoard.so.1
22
21
23
NO_STAGE=	yes
24
post-patch:
22
post-patch:
25
	${REINPLACE_CMD} 's!g++!${CXX}!; s!-O2!${CFLAGS}!' ${WRKSRC}/Makefile
23
	${REINPLACE_CMD} 's!g++!${CXX}!; s!-O2!${CFLAGS}!' ${WRKSRC}/Makefile
26
24
27
do-install:
25
do-install:
28
	${INSTALL_DATA} ${WRKSRC}/libhoard.so ${PREFIX}/lib/libhoard.so.1
26
	${STRIP_CMD} ${WRKSRC}/libhoard.so
29
	${LN} -sf ${PREFIX}/lib/libhoard.so.1 ${PREFIX}/lib/libhoard.so
27
	${INSTALL_DATA} ${WRKSRC}/libhoard.so ${STAGEDIR}${PREFIX}/lib/libhoard.so.1
28
	${LN} -sf libhoard.so.1 ${STAGEDIR}${PREFIX}/lib/libhoard.so
30
29
31
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (hoard-38.tar.gz) = bdd0ef8e90672714f861ca3f0f25280509abd842c5f804dd01bab325a3139b08
1
SHA256 (Hoard-3.10-source.tar.gz) = 9776dd824d193937fa5b079f3f16611eaac54876fecff26a6aec0adb029cbca7
2
SIZE (hoard-38.tar.gz) = 408711
2
SIZE (Hoard-3.10-source.tar.gz) = 253110
(-)files/patch-src_source_unixtls.cpp (+11 lines)
Added Link Here
1
--- src/source/unixtls.cpp.orig	2014-08-21 06:10:50.000000000 +0200
2
+++ source/unixtls.cpp	2014-08-21 06:12:43.000000000 +0200
3
@@ -315,7 +315,7 @@
4
 			       const pthread_attr_t *attr,
5
 			       void * (*start_routine) (void *),
6
 			       void * arg)
7
-#if !defined(__SUNPRO_CC) && !defined(__APPLE__)
8
+#if !defined(__SUNPRO_CC) && !defined(__APPLE__) && !defined(__FreeBSD__)
9
   throw ()
10
 #endif
11
 {

Return to bug 192877