ports/130672: [PATCH] net-im/centerim: fux python patch in CenterIMLog2HTML.py script

Dmitry Marakasov amdmi3 at amdmi3.ru
Sun Jan 18 02:20:03 UTC 2009


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



More information about the freebsd-ports-bugs mailing list