1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

- Drop REDIRECT/THREADED options as this libgc variants were moved into the

separate ports.
This commit is contained in:
Stanislav Sedov 2009-12-18 04:08:56 +00:00
parent 3c4f18635e
commit 29618efb6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246112

View File

@ -18,31 +18,12 @@ COMMENT= Garbage collection and memory leak detection for C and C++
GNU_CONFIGURE= yes
USE_GNOME= gnometarget gnomehack
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-cplusplus --disable-static
CONFIGURE_ARGS= --enable-cplusplus --disable-static --disable-threads
MAKE_JOBS_UNSAFE= yes
OPTIONS= REDIRECT "Define malloc(3)-family replacements" off \
FULLDEBUG "Debugging support (see documentation)" off \
THREADING "POSIX thread support" off \
PARALLEL_MARK "Parallel-thread marking (faster for SMP)" off
OPTIONS= FULLDEBUG "Debugging support (see documentation)" off
.include <bsd.port.pre.mk>
.if defined(WITH_THREADING)
CONFIGURE_ARGS+= --enable-threads=posix --enable-thread-local-alloc
CONFIGURE_ENV= CFLAGSS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lpthread/}"
.if defined(WITH_PARALLEL_MARK)
CONFIGURE_ARGS+= --enable-parallel-mark
.endif
PKGNAMESUFFIX= +threaded
.else
CONFIGURE_ARGS+= --disable-threads
PKGNAMESUFFIX= # empty
.endif
.if defined(WITH_REDIRECT)
CONFIGURE_ARGS+= --enable-redirect-malloc
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+redirect
.endif
.if defined(WITH_FULLDEBUG)
CONFIGURE_ARGS+= --enable-gc-debug
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+fulldebug