Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 11:51:29 +0200
From:      Bapt <baptiste.daroussin@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/148594: [PATCH] devel/pypersrc: remove useless depends on bash
Message-ID:  <d1823@azathoth.lan>
Resent-Message-ID: <201007141000.o6EA0HPr045605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148594
>Category:       ports
>Synopsis:       [PATCH] devel/pypersrc: remove useless depends on bash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 14 10:00:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Bapt
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD azathoth.lan 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #5 r208894M: Tue Jun  8 11:03:27
>Description:
configure.sh works perfecly with /bin/sh

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pypersrc-20090914_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/pypersrc.orig/Makefile /usr/ports/devel/pypersrc/Makefile
--- /usr/ports/devel/pypersrc.orig/Makefile	2010-02-05 12:36:10.000000000 +0100
+++ /usr/ports/devel/pypersrc/Makefile	2010-07-14 11:48:05.103032053 +0200
@@ -18,8 +18,7 @@
 COMMENT=	Python/Tkinter based source browser
 
 BUILD_DEPENDS=	exctags:${PORTSDIR}/devel/ctags \
-		${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw \
-		bash:${PORTSDIR}/shells/bash
+		${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -32,7 +31,7 @@
 PLIST_FILES=	bin/pypersrc.py bin/pypersrc2.py bin/pypersrc
 
 post-patch:
-	${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
+	${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g' \
 	    ${WRKSRC}/configure.sh
 
 .include <bsd.port.mk>
--- pypersrc-20090914_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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