From 7b7fc97068e01e19d4f5b6beb83fb7e57dabd546 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 12 Apr 2009 18:38:23 +0300 Subject: [PATCH] asymptote: changed to use boehm-gc when installed --- graphic/asymptote/asymptote.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/graphic/asymptote/asymptote.conf b/graphic/asymptote/asymptote.conf index 6abf6c87f..3964f19e0 100644 --- a/graphic/asymptote/asymptote.conf +++ b/graphic/asymptote/asymptote.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../asymptote/asymptote.conf -# Copyright (C) 2004 - 2006 The T2 SDE Project +# Copyright (C) 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,6 +12,8 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -# disable garbage collecting - TODO: patch it to compile with -# var_append confopt ' ' "--enable-gc=system" -var_append confopt ' ' "--disable-gc" +if pkginstalled boehm-gc; then + var_append confopt ' ' "--enable-gc=system" +else + var_append confopt ' ' "--disable-gc" +fi