diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-16 03:01:21 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-16 03:01:21 +0800 |
commit | f196435d34cf3f88e848c78007dfe9a9b00c9ac6 (patch) | |
tree | 3d94e9c03e4247a79326feb008fa5ff55b5f7f61 /audio/liblastfm | |
parent | 129c06f44ddc6e661439b20286e9652a0ea8a5cf (diff) | |
download | freebsd-ports-gnome-f196435d34cf3f88e848c78007dfe9a9b00c9ac6.tar.gz freebsd-ports-gnome-f196435d34cf3f88e848c78007dfe9a9b00c9ac6.tar.zst freebsd-ports-gnome-f196435d34cf3f88e848c78007dfe9a9b00c9ac6.zip |
- unbreak build by adding bash to BUILD_DEPENDS, and not trying to replace it
by sh
- serach for bash and ruby in LOCALBASE
Submitted by: maintainer
Prompted by: QATty
Diffstat (limited to 'audio/liblastfm')
-rw-r--r-- | audio/liblastfm/Makefile | 4 | ||||
-rw-r--r-- | audio/liblastfm/files/patch-configure | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/audio/liblastfm/Makefile b/audio/liblastfm/Makefile index 5eaab9218659..259d3aa47be7 100644 --- a/audio/liblastfm/Makefile +++ b/audio/liblastfm/Makefile @@ -16,6 +16,7 @@ COMMENT= Collection of libraries to help integrate Last.fm services LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \ fftw3f.5:${PORTSDIR}/math/fftw3-float \ mad.2:${PORTSDIR}/audio/libmad +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash USE_BZIP2= yes USE_RUBY= yes @@ -29,7 +30,8 @@ MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes post-extract: + ${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' ${WRKSRC}/configure ${FIND} ${WRKSRC}/admin -type f | ${XARGS} \ - ${REINPLACE_CMD} -e 's|\#\!\/usr\/bin\/ruby|\#\!\/usr\/local\/bin\/ruby|' + ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${LOCALBASE}/bin/ruby|' .include <bsd.port.mk> diff --git a/audio/liblastfm/files/patch-configure b/audio/liblastfm/files/patch-configure index fe11f333f4cd..66220c3f0b59 100644 --- a/audio/liblastfm/files/patch-configure +++ b/audio/liblastfm/files/patch-configure @@ -1,11 +1,5 @@ --- configure.orig 2009-04-20 20:20:03.000000000 -0500 +++ configure 2009-04-20 21:12:07.000000000 -0500 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - source admin/utils.bash - @@ -97,7 +97,7 @@ case `uname` in Darwin) |