aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-07-15 08:15:07 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-07-15 08:15:07 +0800
commitbaf2a1ddf2a242cd14b7552ee6f8e945c82a5a38 (patch)
tree4ed791b41b739de94a4a8e581960ea8211c76644
parent0569e30655e35c66786a72ff983c43b92b034b60 (diff)
downloadfreebsd-ports-gnome-baf2a1ddf2a242cd14b7552ee6f8e945c82a5a38.tar.gz
freebsd-ports-gnome-baf2a1ddf2a242cd14b7552ee6f8e945c82a5a38.tar.zst
freebsd-ports-gnome-baf2a1ddf2a242cd14b7552ee6f8e945c82a5a38.zip
- Fix build with custom LOCALBASE
Reported by: QATty Submitted by: Cezary Morga <cm@therek.net>
-rw-r--r--audio/p5-MusicBrainz-Client/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/p5-MusicBrainz-Client/Makefile b/audio/p5-MusicBrainz-Client/Makefile
index 3c270c1bfd3e..0a25ef0dbdc8 100644
--- a/audio/p5-MusicBrainz-Client/Makefile
+++ b/audio/p5-MusicBrainz-Client/Makefile
@@ -26,4 +26,7 @@ MAN3= MusicBrainz::Client.3 \
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>