From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 27 10:50:21 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A88637B401 for ; Sun, 27 Jul 2003 10:50:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D6043FBD for ; Sun, 27 Jul 2003 10:50:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6RHoJUp063308 for ; Sun, 27 Jul 2003 10:50:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6RHoJHk063307; Sun, 27 Jul 2003 10:50:19 -0700 (PDT) Resent-Date: Sun, 27 Jul 2003 10:50:19 -0700 (PDT) Resent-Message-Id: <200307271750.h6RHoJHk063307@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D233337B401 for ; Sun, 27 Jul 2003 10:44:58 -0700 (PDT) Received: from graf.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAA743F93 for ; Sun, 27 Jul 2003 10:44:55 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 0029A751E; Sun, 27 Jul 2003 19:38:25 +0200 (CEST) Message-Id: <20030727173825.0029A751E@graf.pompo.net> Date: Sun, 27 Jul 2003 19:38:25 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/54915: french/aster: fixing BUILD_DEPENDS. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2003 17:50:21 -0000 >Number: 54915 >Category: ports >Synopsis: french/aster: fixing BUILD_DEPENDS. >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: Sun Jul 27 10:50:19 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.8-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 29 18:16:35 CEST 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: WITH_BASH or WITH_KSH do not work if they are not installed. Reported by Stephen Hilton. >How-To-Repeat: On a machine where bash is not installed, try to build aster with the knob WITH_BASH=yes => it will try to fetch the port shells/bash, which does not exist. Idem for ksh. >Fix: Please apply the following patch: --- aster.diff begins here --- --- french/aster/Makefile.orig Fri Jul 25 19:27:32 2003 +++ french/aster/Makefile Sun Jul 27 19:27:07 2003 @@ -39,7 +39,7 @@ LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas BUILD_DEPENDS= ${opt_hdf}:${PORTSDIR}/graphics/hdf5 \ ${opt_med}:${PORTSDIR}/french/med \ - ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIA} + ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \ ${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/cad/metis-edf @@ -110,15 +110,20 @@ .elif defined(WITH_BASH) SHIA= bash .elif defined(WITH_KSH) -SHIA= ksh +SHIA= ksh93 .elif exists(${LOCALBASE}/bin/zsh) SHIA= zsh .elif exists(${LOCALBASE}/bin/bash) SHIA= bash -.elif exists(${LOCALBASE}/bin/ksh) -SHIA= ksh +.elif exists(${LOCALBASE}/bin/ksh93) +SHIA= ksh93 .else SHIA= zsh +.endif +.if ${SHIA} == "bash" +SHIADEP= bash2 +.else +SHIADEP= ${SHIA} .endif vaster= STA${PORTVERSION} --- aster.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: