Date: Sat, 22 Dec 2007 15:36:35 +0300 (MSK) From: "Iouri V. Ivliev" <ii@any.com.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/118948: Update port: graphics/pfscalibration - fixup sh-bang Message-ID: <200712221236.lBMCaZAC078530@smaug.esterdev.com> Resent-Message-ID: <200712221240.lBMCe2Kv054894@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118948 >Category: ports >Synopsis: Update port: graphics/pfscalibration - fixup sh-bang >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 22 12:40:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Iouri V. Ivliev >Release: FreeBSD 6.2-RELEASE-p7 i386 >Organization: EsterDev, Ltd. >Environment: System: FreeBSD smaug.esterdev.com 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Sun Sep 23 17:28:25 UTC 2007 root@smaug.esterdev.com:/usr/obj/usr/src/sys/SMAUG i386 >Description: dcraw2hdrgen and jpeg2hdrgen doesn't require bash, /bin/sh may be used. >How-To-Repeat: >Fix: --- pfscalibration.diff begins here --- diff -ruN pfscalibration.orig/Makefile pfscalibration/Makefile --- pfscalibration.orig/Makefile Fri Dec 14 20:16:13 2007 +++ pfscalibration/Makefile Wed Dec 19 12:01:50 2007 @@ -6,6 +6,7 @@ PORTNAME= pfscalibration PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF MASTER_SITE_SUBDIR= pfstools @@ -30,4 +31,11 @@ pfsinhdrgen.1 \ pfshdrcalibrate.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +pre-configure: + @${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \ + ${WRKSRC}/src/dcraw2hdrgen \ + ${WRKSRC}/src/jpeg2hdrgen + +.include <bsd.port.post.mk> --- pfscalibration.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?200712221236.lBMCaZAC078530>