ports/71925: [PATCH] lang/tcl: fix PLIST
Yen-Ming Lee
leeym at FreeBSD.org
Mon Sep 20 08:20:27 UTC 2004
>Number: 71925
>Category: ports
>Synopsis: [PATCH] lang/tcl: fix PLIST
>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: Mon Sep 20 08:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:
- install manpages only if WITH_TCL80_MAN is defined
- utilize MASTER_SITE_TCLTK
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/i386-5-latest-logs/extras.html
>Fix:
--- tcl-8.0.5_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/tcl80/Makefile,v
retrieving revision 1.37
diff -u -u -r1.37 Makefile
--- Makefile 23 Aug 2004 19:59:08 -0000 1.37
+++ Makefile 20 Sep 2004 08:10:56 -0000
@@ -9,8 +9,9 @@
PORTVERSION= 8.0.5
PORTREVISION= 1
CATEGORIES= lang tcl80
-MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
-DISTNAME= tcl8.0.5
+MASTER_SITES= ${MASTER_SITE_TCLTK}
+MASTER_SITE_SUBDIR=tcl8_0
+DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Tool Command Language
@@ -28,6 +29,7 @@
SHLIB_MINOR= 5
MAKEFILE= makefile
TCL_LIB= libtcl80.so
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -46,6 +48,10 @@
post-configure:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
@${CP} ${FILESDIR}/makefile ${WRKSRC}
+.if !defined(WITH_TCL80_MAN)
+ @${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
+ ${WRKSRC}/Makefile
+.endif
pre-build:
@cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
--- tcl-8.0.5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list