pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46720: devel/glib2 configure fails on Darwin
The following reply was made to PR pkg/46720; it has been noted by GNATS.
From: Jason bacon <jwbacon%tds.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: OBATA Akio <obache%netbsd.org@localhost>, pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/46720: devel/glib2 configure fails on Darwin
Date: Thu, 19 Jul 2012 18:02:10 -0500
Yes, it works. Thanks for the quick response...
On 7/19/12 6:45 AM, OBATA Akio wrote:
> The following reply was made to PR pkg/46720; it has been noted by GNATS.
>
> From: "OBATA Akio"<obache%netbsd.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/46720: devel/glib2 configure fails on Darwin
> Date: Thu, 19 Jul 2012 20:41:01 +0900
>
> Following patch works as expected for you?
>
> Index: devel/glib2/hacks.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/glib2/hacks.mk,v
> retrieving revision 1.6
> diff -u -r1.6 hacks.mk
> --- devel/glib2/hacks.mk 1 May 2012 18:45:52 -0000 1.6
> +++ devel/glib2/hacks.mk 19 Jul 2012 11:31:35 -0000
> @@ -12,12 +12,17 @@
> .endif
>
> .if ${OPSYS} == "Darwin"
> +CHECK_BUILTIN.libiconv:= yes
> +. include "../../converters/libiconv/builtin.mk"
> +CHECK_BUILTIN.libiconv:= no
> +. if ${ICONV_TYPE} == "native"
> PKG_HACKS+= darwin-iconv
> SUBST_CLASSES+= iconv
> SUBST_STAGE.iconv= pre-configure
> SUBST_MESSAGE.iconv= Changing libiconv_open to iconv_open.
> SUBST_FILES.iconv= configure
> SUBST_SED.iconv= -e 's,libiconv_open,iconv_open,g'
> +. endif
> .endif
>
> # Work around unresolved symbol g_test_config_vars during build
>
> --
> OBATA Akio / obache%NetBSD.org@localhost
>
Home |
Main Index |
Thread Index |
Old Index