Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 05:17:34 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        frank@altpeter.de
Subject:   ports/130672: [PATCH] net-im/centerim: fux python patch in CenterIMLog2HTML.py script
Message-ID:  <20090118021734.7132217033@hades.panopticon>
Resent-Message-ID: <200901180220.n0I2K2AW051496@freefall.freebsd.org>

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

>Number:         130672
>Category:       ports
>Synopsis:       [PATCH] net-im/centerim: fux python patch in CenterIMLog2HTML.py script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 02:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008
>Description:
CenterIMLog2HTML.py script provided with centerim has python path hardcoded as /usr/bin/python which is incorrect for FreeBSD. Fix that.

Port maintainer (frank@altpeter.de) is cc'd.

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

--- centerim-4.22.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net-im/centerim/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	6 Nov 2008 22:55:41 -0000	1.10
+++ Makefile	18 Jan 2009 02:15:50 -0000
@@ -107,6 +107,10 @@
 LIBGADU=		-lgadu
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
+		${WRKSRC}/misc/CenterIMLog2HTML.py
+
 .if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
--- centerim-4.22.6.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?20090118021734.7132217033>