diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 00:55:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 00:55:15 +0000 |
commit | 5e574c8550973c35f32da309b549fdeed5b06d2b (patch) | |
tree | 1a2b53c8bddc139aab2737adea86d67815228e9f /lang/gauche | |
parent | abed4aa065b1a4ca998f083f2eddde61c5dc4a20 (diff) | |
download | pkgsrc-5e574c8550973c35f32da309b549fdeed5b06d2b.tar.gz |
When including a builtin.mk file, you need to guard it with CHECK_BUILTIN.*
settings so that the builtin.mk can be safely included by the buildlink3
framework later on.
Diffstat (limited to 'lang/gauche')
-rw-r--r-- | lang/gauche/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile index 02a189d158f..11c3bd67232 100644 --- a/lang/gauche/Makefile +++ b/lang/gauche/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2008/03/01 19:50:13 tnn Exp $ +# $NetBSD: Makefile,v 1.46 2008/03/02 00:55:15 jlam Exp $ # DISTNAME= Gauche-0.8.13 @@ -18,16 +18,21 @@ PKG_DESTDIR_SUPPORT= user-destdir EVAL_PREFIX+= SLIB_PREFIX=slib +MAKE_JOBS_SAFE= no GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-slib=${SLIB_PREFIX}/share/slib CONFIGURE_ARGS+= --enable-threads=pthreads CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv} + +CHECK_BUILTIN.iconv:= no .include "../../converters/libiconv/builtin.mk" +CHECK_BUILTIN.iconv:= yes + .if !empty(USE_BUILTIN.iconv:M[nN][oO]) CONFIGURE_ARGS+= --with-iconv-lib=${BUILDLINK_LIBNAME.iconv} -ALL_ENV+= ICONV_LDFLAGS="${COMPILER_RPATH_FLAG}${PREFIX}/lib" +ALL_ENV+= \ + ICONV_LDFLAGS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib" .endif -MAKE_JOBS_SAFE= no USE_LIBTOOL= yes USE_TOOLS+= gzip makeinfo |