ports/165141: [PATCH] lang/itcl: avoid manpage conflicts with lang/tcl85
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Feb 14 16:30:12 UTC 2012
>Number: 165141
>Category: ports
>Synopsis: [PATCH] lang/itcl: avoid manpage conflicts with lang/tcl85
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 14 16:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Olgeni
>Release: FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD backoffice 9.0-STABLE FreeBSD 9.0-STABLE #6: Fri Feb 10 22:03:50 CET 2012
>Description:
Manpages Object.3 and Preserve.3 conflict with Tcl manpages having
the same name; usually one does not notice since Tcl manpages are
not installed by default.
I would suggest to rename Itcl manpages using their full names to
avoid the conflict.
Port maintainer (erik at bz.bzflag.bz) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- itcl-3.4b1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/itcl/Makefile,v
retrieving revision 1.51
diff -u -u -r1.51 Makefile
--- Makefile 1 Dec 2010 23:12:15 -0000 1.51
+++ Makefile 14 Feb 2012 16:22:47 -0000
@@ -7,6 +7,7 @@
PORTNAME= itcl
PORTVERSION= 3.4b1
+PORTREVISION= 1
CATEGORIES= lang tcl
MASTER_SITES= SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4
DISTNAME= itcl${PORTVERSION}
@@ -34,7 +35,7 @@
MANCOMPRESSED= no
MANN= body.n class.n code.n configbody.n delete.n ensemble.n find.n
MANN+= is.n itcl.n itclvars.n local.n scope.n
-MAN3= RegisterC.3 Stack.3 Class.3 List.3 Object.3 Preserve.3
+MAN3= Itcl_RegisterC.3 Itcl_Stack.3 Itcl_Class.3 Itcl_List.3 Itcl_Object.3 Itcl_Preserve.3
ITCL_LIB_FILE= ${ITCL_LIB}.${SHLIB_MAJOR}
@@ -46,6 +47,8 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.n ${PREFIX}/man/mann/
- ${INSTALL_DATA} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3/
+.for FILE in ${MAN3}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${FILE:S/Itcl_//} ${PREFIX}/man/man3/${FILE}
+.endfor
.include <bsd.port.post.mk>
--- itcl-3.4b1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list