1996-11-16 02:51:39 +01:00
|
|
|
# New ports collection makefile for: boehm-gc
|
|
|
|
# Date created: 15 November 1996
|
|
|
|
# Whom: Mike McGaughey <mmcg@cs.monash.edu.au>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1996-11-16 02:51:39 +01:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= boehm-gc
|
2009-12-15 06:53:43 +01:00
|
|
|
PORTVERSION= 7.1
|
2006-09-20 15:33:14 +02:00
|
|
|
PORTREVISION= 0
|
1996-11-16 02:51:39 +01:00
|
|
|
CATEGORIES= devel
|
2001-01-03 21:17:07 +01:00
|
|
|
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
|
2009-12-15 06:53:43 +01:00
|
|
|
DISTNAME= gc-${PORTVERSION:S/.a/alpha/}
|
1996-11-16 02:51:39 +01:00
|
|
|
|
2006-09-20 15:33:14 +02:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-02-22 15:25:38 +01:00
|
|
|
COMMENT= Garbage collection and memory leak detection for C and C++
|
2000-04-30 21:13:48 +02:00
|
|
|
|
2005-10-23 02:01:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gnomehack
|
2006-09-20 15:33:14 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-12-18 05:08:56 +01:00
|
|
|
CONFIGURE_ARGS= --enable-cplusplus --disable-static --disable-threads
|
2009-12-15 21:56:15 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2009-12-18 05:08:56 +01:00
|
|
|
OPTIONS= FULLDEBUG "Debugging support (see documentation)" off
|
2001-10-11 14:08:59 +02:00
|
|
|
|
2004-03-05 13:14:38 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-07-15 21:14:36 +02:00
|
|
|
.if defined(WITH_FULLDEBUG)
|
2009-12-15 06:53:43 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gc-debug
|
2004-05-27 16:12:50 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug
|
2004-05-24 16:54:56 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN3= gc.3
|
|
|
|
|
2005-06-29 18:29:45 +02:00
|
|
|
.if ${ARCH} == "ia64"
|
2010-06-13 10:40:06 +02:00
|
|
|
BROKEN= Does not compile on ia64
|
2004-03-05 13:14:38 +01:00
|
|
|
.endif
|
|
|
|
|
2002-02-02 05:48:28 +01:00
|
|
|
post-patch:
|
2002-06-25 20:36:39 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
|
2002-02-02 05:48:28 +01:00
|
|
|
|
2009-12-15 06:53:43 +01:00
|
|
|
#
|
|
|
|
# Get rid of .la and static library files
|
|
|
|
#
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
|
|
|
|
|
2001-10-11 14:08:59 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
|
1996-11-16 02:51:39 +01:00
|
|
|
|
2011-09-20 00:53:27 +02:00
|
|
|
test: build
|
|
|
|
cd ${WRKSRC} && ${MAKE} check
|
|
|
|
|
2004-03-05 13:14:38 +01:00
|
|
|
.include <bsd.port.post.mk>
|