1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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
This commit is contained in:
Ion-Mihai Tetcu 2009-06-15 19:01:21 +00:00
parent bf503aaa52
commit 118cc0cb8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235891
2 changed files with 3 additions and 7 deletions

View File

@ -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>

View File

@ -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)