From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 17 08:40:05 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 A9CAB37B401 for ; Sun, 17 Aug 2003 08:40:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A549343FA3 for ; Sun, 17 Aug 2003 08:40:04 -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 h7HFe4Up079404 for ; Sun, 17 Aug 2003 08:40:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7HFe4lv079403; Sun, 17 Aug 2003 08:40:04 -0700 (PDT) Resent-Date: Sun, 17 Aug 2003 08:40:04 -0700 (PDT) Resent-Message-Id: <200308171540.h7HFe4lv079403@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 F1CF537B401; Sun, 17 Aug 2003 08:38:56 -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 3D5E743FB1; Sun, 17 Aug 2003 08:38:56 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 5D17B750E; Sun, 17 Aug 2003 17:37:33 +0200 (CEST) Message-Id: <20030817153733.5D17B750E@graf.pompo.net> Date: Sun, 17 Aug 2003 17:37:33 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Oliver Lehmann Subject: ports/55671: french/aster: unbreaking on 4.8. 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, 17 Aug 2003 15:40:06 -0000 >Number: 55671 >Category: ports >Synopsis: french/aster: unbreaking on 4.8. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 17 08:40:02 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: Sat Aug 9 10:46:23 CEST 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: This PR unbreaks Code_Aster on 4.8. I've tried a lot of things, and I don't know exactly what has solved the breakage, but now it runs ;-) (a previous test with gcc32 did not fix anything). Changes: gcc-32, cc is used to link, with -lg2c + the previously applied patches. >How-To-Repeat: N/A. >Fix: Please apply the following patch: --- aster.diff begins here --- diff -urN french/aster.orig/Makefile french/aster/Makefile --- french/aster.orig/Makefile Wed Aug 13 16:38:44 2003 +++ french/aster/Makefile Sun Aug 17 16:11:15 2003 @@ -48,6 +48,7 @@ EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= -xf EXTRACT_AFTER_ARGS= # empty +USE_GCC= 3.2 USE_PYTHON= yes USE_REINPLACE= yes REINPLACE_ARGS= -i "" @@ -60,10 +61,6 @@ .include -.if ${OSVERSION} < 500000 -#BROKEN= Does not build on systems prior 5.x - work in progress... -.endif - .if defined(WITH_BLAS) LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas .else @@ -106,7 +103,11 @@ RUN_DEPENDS+= ${PYNUMERIC} .endif +.if ${OSVERSION} < 500039 +F77= g77-${USE_GCC:C/\.//} +.else F77?= f77 +.endif FFLAGS?= -O2 TK_VER?= 8.3 diff -urN french/aster.orig/files/config.txt french/aster/files/config.txt --- french/aster.orig/files/config.txt Wed Aug 13 16:38:44 2003 +++ french/aster/files/config.txt Sun Aug 17 16:05:17 2003 @@ -31,13 +31,13 @@ BIBL | tcl | 8.3 | OPT_TCL BIBL | tk | 8.3 | OPT_TK BIBL | X11 | ? | OPT_X11 -BIBL | sys | ? | -Xlinker -export-dynamic PTHREAD -lutil -lm -lz +BIBL | sys | ? | -Xlinker -export-dynamic PTHREAD -lutil -lm -lz -lg2c # INCL | python | 2.1 | -IHOME_PYTHON/include/pythonPYTHON_VERSION # PYTHON | python | 2.1 | HOME_PYTHON/bin/PYTHON_BIN # -LINK | link | ? | %%F77%% +LINK | link | ? | %%CC%% -v # OPTL | f90 | ? | -v # --- aster.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: