Date: Mon, 6 Feb 2006 23:15:04 -0500 (EST) From: Paul Chvostek <paul+ports@it.ca> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Paul Chvostek <paul+ports@it.ca> Subject: ports/92945: [maintainer update]: port requires bash, not sh Message-ID: <200602070415.k174F491028305@mail.it.ca> Resent-Message-ID: <200602070730.k177U4uN066726@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92945 >Category: ports >Synopsis: [maintainer update]: port requires bash, not sh >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 07 07:30:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Paul Chvostek >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD mail.it.ca 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Sun Aug 21 18:50:49 EDT 2005 paul@kanar.int.it.ca:/usr/obj/usr/src/sys/kanar i386 >Description: The original script was written for linux, on which /bin/sh is really bash. Added bash requirement to the port. >How-To-Repeat: n/a >Fix: --- pdfjam-1.20_1.diff begins here --- diff -ruN /usr/ports/print/pdfjam/Makefile pdfjam/Makefile --- /usr/ports/print/pdfjam/Makefile Fri Mar 18 17:49:27 2005 +++ pdfjam/Makefile Mon Feb 6 23:05:26 2006 @@ -7,6 +7,7 @@ PORTNAME= pdfjam PORTVERSION= 1.20 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/ \ http://www.it.ca/~paul/src/ @@ -16,7 +17,8 @@ MAINTAINER= paul+ports@it.ca COMMENT= Shell scripts to manipulate PDF files -RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base \ + bash:${PORTSDIR}/shells/bash WRKSRC= ${WRKDIR}/${PORTNAME} @@ -29,7 +31,7 @@ post-patch: @${LN} -s scripts ${WRKSRC}/bin .for FILE in ${PLIST_FILES} - @${SED} -i '' "1s:^#! /bin/sh:#!${SH}:;s:__LOCALBASE__:${LOCALBASE}:" ${WRKSRC}/${FILE} + @${SED} -i '' "1s:^#! /bin/sh:#!${LOCALBASE}/bin/bash:;s:__LOCALBASE__:${LOCALBASE}:" ${WRKSRC}/${FILE} .endfor do-install: --- pdfjam-1.20_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602070415.k174F491028305>