ports/139315: [MAINTAINER] audio/liblastfm - fix build with custom PREFIX

Matt datahead4 at gmail.com
Sat Oct 3 04:14:30 UTC 2009


On Fri, Oct 2, 2009 at 6:40 PM, Dima Panov <Fluffy at fluffy.khv.ru> wrote:
> On Saturday 03 October 2009 06:23:16 Matt Tosto wrote:
>> >Number:         139315
>
>>
>> Build failed when custom PREFIX was set due to an incorrect formatting of
>>  the CONFIGURE_ARGS in the port Makefile.  Small attached patch corrects
>>  this issue.  I'm not entirely sure if ${PREFIX} or ${LOCALBASE} is the
>>  proper substitution to use in the Makefile.  Confirmation of this would be
>>  appreciated.
>>
>> Patch attached with submission follows:
>>
>> diff -U3 -r ../liblastfm/Makefile /usr/ports/audio/liblastfm/Makefile
>> --- ../liblastfm/Makefile     2009-10-01 10:44:58.000000000 -0500
>> +++ /usr/ports/audio/liblastfm/Makefile       2009-09-08 08:45:41.000000000 -0500
>> @@ -23,7 +23,7 @@
>>  QT_COMPONENTS=       corelib xml network sql gui qtestlib \
>>               qmake_build moc_build rcc_build uic_build
>>  HAS_CONFIGURE=       yes
>> -CONFIGURE_ARGS+=     --prefix ${LOCALBASE} --release
>> +CONFIGURE_ARGS+=     -release
>>  MAKE_JOBS_UNSAFE=    yes
>>
>>  USE_LDCONFIG=        yes
>
> Patch reversed, right?

Oops - yes.  Patch reversed.  Sorry!
>
> Args order also had a side effect.
>



More information about the freebsd-ports-bugs mailing list