Subject: Re: pkg/36766: net/php-xmlrpc fails to build on freebsd
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Yakovetsky Vladimir <yx@x.ua>
List: pkgsrc-bugs
Date: 08/10/2007 16:10:02
The following reply was made to PR pkg/36766; it has been noted by GNATS.
From: Yakovetsky Vladimir <yx@x.ua>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/36766: net/php-xmlrpc fails to build on freebsd
Date: Fri, 10 Aug 2007 19:08:43 +0300
On Fri, Aug 10, 2007 at 05:57:27PM +0200, Joerg Sonnenberger wrote:
> On Fri, Aug 10, 2007 at 03:50:00PM +0000, Yakovetsky Vladimir wrote:
>> .if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \
>> !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
>> +. if ${OPSYS} != "FreeBSD"
>> CONFIGURE_ARGS+= --with-iconv-dir=shared,${BUILDLINK_PREFIX.iconv}
>> +. else
>> +CONFIGURE_ARGS+= --with-iconv-dir=${BUILDLINK_PREFIX.iconv}
>> +. endif
>
> Hm. I don't like this conditionals. Does the attached version work for
> you?
>
> -.if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \
> - !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
> -CONFIGURE_ARGS+= --with-iconv-dir=shared,${BUILDLINK_PREFIX.iconv}
> +.if !empty(USE_BUILTIN.iconv:M[nN][oO])
> +CONFIGURE_ARGS+= --with-iconv-dir=${BUILDLINK_PREFIX.iconv}
It works too.
--
Yakovetsky Vladimir