ports/55671: french/aster: unbreaking on 4.8.

Thierry Thomas thierry at pompo.net
Sun Aug 17 15:40:06 UTC 2003


>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 at 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 <bsd.port.pre.mk>
 
-.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:



More information about the freebsd-ports-bugs mailing list