[Custom LOCALBASE/PREFIX] audio/p5-MusicBrainz-Client - fails: compiler_error

Cezary Morga cm at therek.net
Sat Jul 11 14:01:06 UTC 2009


QAT at freebsd.org pisze:
> The Restless Daemon identified a compiler error while trying to build:
>  p5-MusicBrainz-Client-0.11 maintained by perl at 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)
-------------- next part --------------
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>


More information about the freebsd-perl mailing list