Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 16:13:10 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55739: french/aster: switching from tcl/tk 83 to 84.
Message-ID:  <20030819141310.9C0B222D7E0@ws90bj.pompo.net>
Resent-Message-ID: <200308200941.h7K9f0Rw090263@freefall.freebsd.org>

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

>Number:         55739
>Category:       ports
>Synopsis:       french/aster: switching from tcl/tk 83 to 84.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 20 02:40:58 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD ws90bj.pompo.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sat Aug 9 10:48:19 CEST 2003 thierry@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-030610 i386


	
>Description:
	1) asteru.exe is linked against libtcl and libtk, but only a
	PATCH_DEPENDS was registered => adding LIB_DEPENDS.

	2) switching from tk83 to tk84 => bumping PORTREVISION.
	This has been tested successfully on i386, with 4.8-STABLE and
	5.1-RELEASE.

	Related PR: PR ports/55707 (for cad/astk-client).

>How-To-Repeat:
	N/A.

>Fix:
	Please apply the following patch:

--- aster.diff begins here ---
--- french/aster/Makefile.orig	Mon Aug 18 16:20:17 2003
+++ french/aster/Makefile	Tue Aug 19 14:46:25 2003
@@ -7,7 +7,8 @@
 
 PORTNAME=	aster
 PORTVERSION=	7.1
-CATEGORIES=	french cad python tk83
+PORTREVISION=	1
+CATEGORIES=	french cad python tk84
 MASTER_SITES=	http://www.code-aster.org/FICHIERS/code_aster/
 DISTNAME=	${PORTNAME}_src_${PORTVERSION}
 EXTRACT_SUFX=	.tar
@@ -37,12 +38,14 @@
 #
 #-----------------------------------------------------------------------
 
-PATCH_DEPENDS=	tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${SHORT_TCL_VER} \
+PATCH_DEPENDS=	tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${SHORT_TCL_VER}		\
 		wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
-BUILD_DEPENDS=	${opt_hdf}:${PORTSDIR}/graphics/hdf5 \
-		${opt_med}:${PORTSDIR}/french/med \
+BUILD_DEPENDS=	${opt_hdf}:${PORTSDIR}/graphics/hdf5				\
+		${opt_med}:${PORTSDIR}/french/med				\
 		${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
+LIB_DEPENDS=	tcl${SHORT_TCL_VER}:${PORTSDIR}/lang/tcl${SHORT_TCL_VER}	\
+		tk${SHORT_TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot	\
 		${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/cad/metis-edf
 
 EXTRACT_CMD=	${TAR}
@@ -62,9 +65,9 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_BLAS)
-LIB_DEPENDS=	blas.1:${PORTSDIR}/math/blas
+LIB_DEPENDS+=	blas.1:${PORTSDIR}/math/blas
 .else
-LIB_DEPENDS=	f77blas.1:${PORTSDIR}/math/atlas
+LIB_DEPENDS+=	f77blas.1:${PORTSDIR}/math/atlas
 .endif
 .if !defined(WITHOUT_ASTK)
 RUN_DEPENDS+=	${LOCALBASE}/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur
@@ -110,7 +113,7 @@
 .endif
 FFLAGS?=	-O2
 
-TK_VER?=	8.3
+TK_VER?=	8.4
 SHORT_TK_VER=	${TK_VER:S/.//}
 TKCONFIG=	${LOCALBASE}/lib/tk${TK_VER}/tkConfig.sh
 
--- aster.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?20030819141310.9C0B222D7E0>