ports/148583: [PATCH] databases/dbtool: remove bash dependency
Bapt
baptiste.daroussin at gmail.com
Tue Jul 13 23:00:18 UTC 2010
>Number: 148583
>Category: ports
>Synopsis: [PATCH] databases/dbtool: remove bash dependency
>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: Tue Jul 13 23: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:
Remove bash dependency
Port maintainer (sylvio at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- dbtool-1.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/dbtool.orig/Makefile /usr/ports/databases/dbtool/Makefile
--- /usr/ports/databases/dbtool.orig/Makefile 2010-07-14 00:53:03.942634510 +0200
+++ /usr/ports/databases/dbtool/Makefile 2010-07-14 00:51:03.885993402 +0200
@@ -23,9 +23,6 @@
.else
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
.endif
-.if !defined(NOPORTDOCS)
-RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
-.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" \
@@ -36,7 +33,6 @@
MAN1= dbtool.1
-SH2BASH= samples/account-db/accdb
UB2PFX= samples/locate/locate samples/locate/updatedb
post-extract:
@@ -53,9 +49,7 @@
.endfor
@${REINPLACE_CMD} -e "s,==,=,g" ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
-.for file in ${SH2BASH}
- @${REINPLACE_CMD} -e "s|/bin/sh|${LOCALBASE}/bin/bash|" ${WRKSRC}/${file}
-.endfor
+ @${REINPLACE_CMD} -e "s|function menu|menu()|" ${WRKSRC}/samples/account-db/accdb
.for file in ${UB2PFX}
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/${file}
@${RM} ${WRKSRC}/${file}.orig
--- dbtool-1.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list