pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36766: net/php-xmlrpc fails to build on freebsd
The following reply was made to PR pkg/36766; it has been noted by GNATS.
From: Yakovetsky Vladimir <yx%x.ua@localhost>
To: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
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
Home |
Main Index |
Thread Index |
Old Index