Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 16:01:01 +0200
From:      Cezary Morga <cm@therek.net>
To:        QAT@freebsd.org
Cc:        perl@freebsd.org
Subject:   Re: [Custom LOCALBASE/PREFIX] audio/p5-MusicBrainz-Client - fails: compiler_error
Message-ID:  <4A589B1D.3030609@therek.net>
In-Reply-To: <20090710214522.83F168FC33@release.ixsystems.com>
References:  <20090710214522.83F168FC33@release.ixsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030505080306020101040007
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

QAT@freebsd.org pisze:
> The Restless Daemon identified a compiler error while trying to build:
>  p5-MusicBrainz-Client-0.11 maintained by perl@FreeBSD.org
>  Makefile ident: $FreeBSD: ports/audio/p5-MusicBrainz-Client/Makefile,v 1.11 2008/04/17 14:24:09 araujo Exp $
> 
> THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest.
> Patches for testing and committing welcomed as a reply to this email.

Patch in attachment.

Maybe I should fill PRs for each of such a fix?

-- 
Cezary Morga
"We are here on Earth to do good to others. What the others are here 
for, I don't know." (W. H. Auden)

--------------030505080306020101040007
Content-Type: text/plain;
 name="patch-p5-MusicBrainz-Client.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-p5-MusicBrainz-Client.diff"

diff -u p5-MusicBrainz-Client.orig/Makefile p5-MusicBrainz-Client/Makefile
--- p5-MusicBrainz-Client.orig/Makefile	2008-04-17 14:24:09.000000000 +0000
+++ p5-MusicBrainz-Client/Makefile	2009-07-11 13:55:32.138884732 +0000
@@ -26,4 +26,7 @@
 		MusicBrainz::Client::Simple::Artist.3 \
 		MusicBrainz::Client::Simple::Track.3
 
+pre-configure:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
+
 .include <bsd.port.mk>

--------------030505080306020101040007--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A589B1D.3030609>