blob: e9884a7745313e381d9caf0522c1720933a4d709 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: boehm-gc
# Date created: 15 November 1996
# Whom: Mike McGaughey <mmcg@cs.monash.edu.au>
#
# $FreeBSD$
#
PORTNAME= boehm-gc
PORTVERSION= 7.1
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
DISTNAME= gc-${PORTVERSION:S/.a/alpha/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Garbage collection and memory leak detection for C and C++
WITH_FBSD10_FIX=yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-cplusplus --disable-static --disable-threads
MAKE_JOBS_UNSAFE= yes
OPTIONS= FULLDEBUG "Debugging support (see documentation)" off
.include <bsd.port.pre.mk>
.if defined(WITH_FULLDEBUG)
CONFIGURE_ARGS+= --enable-gc-debug
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug
.endif
MAN3= gc.3
.if ${ARCH} == "ia64"
BROKEN= Does not compile on ia64
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
#
# Get rid of .la and static library files
#
post-configure:
@${REINPLACE_CMD} -E -e \
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
test: build
cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.post.mk>
|