ports/92945: [maintainer update]: port requires bash, not sh

Paul Chvostek paul+ports at it.ca
Tue Feb 7 07:30:05 UTC 2006


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list