Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 16:15:01 -0800 (PST)
From:      oleg@pobox.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45844: Maintainer port update: math/linalg
Message-ID:  <200211300015.gAU0F1w4025118@adric.fnmoc.navy.mil>

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

>Number:         45844
>Category:       ports
>Synopsis:       Maintainer port update: math/linalg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 29 16:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     oleg@pobox.com
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Adric 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
Update math/linalg to the new release of LinAlg, v4.4
The new release compiles under GCC 2.95.x and GCC 3.2

>How-To-Repeat:
	
>Fix:

Please remove the files under linalg/files/patch-* 
because no patches are necessary to build linalg-4.4

The tarball of linalg-4.3.tar.gz was stored at MASTER_SITE_LOCAL
under SUBDIR 'will'. 
Could you please store the tarball of LinAlg 4.4 at the same place?
The distribution of LinAlg 4.4 can be downloaded from
	http://pobox.com/~oleg/ftp/packages/linalg-4.4.tar.gz


--- diff begins here ---
diff -ruN linalg/Makefile linalg.bak/Makefile
--- linalg/Makefile	Fri Nov 29 15:16:00 2002
+++ linalg.bak/Makefile	Tue Nov 19 15:02:12 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	linalg
-PORTVERSION=	4.4
+PORTVERSION=	4.3
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	will
@@ -19,6 +19,14 @@
 USE_GMAKE=	yes
 
 .include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500035
+BROKEN=		"Does not compile under 5.x"
+.endif
+
+post-patch:
+	@( cd ${WRKSRC}; ${SED} -e 's|%%CXXFLAGS%%|${CXXFLAGS}|g' \
+	    -e 's|%%CXX%%|${CXX}|g' c++ > c++.sed; mv c++.sed c++; ${CHMOD} +x c++ )
 
 post-install:
 	$(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib
diff -ruN linalg/distinfo linalg.bak/distinfo
--- linalg/distinfo	Fri Nov 29 15:30:41 2002
+++ linalg.bak/distinfo	Thu Apr  6 18:47:50 2000
@@ -1 +1 @@
-MD5 (linalg-4.4.tar.gz) = 479f563b0415506f44a5b8f67076e680
+MD5 (linalg-4.3.tar.gz) = b5b4d5907f60f8517532af6bc23efd01
diff -ruN linalg/files/patch-aa linalg.bak/files/patch-aa
--- linalg/files/patch-aa	Wed Dec 31 16:00:00 1969
+++ linalg.bak/files/patch-aa	Sat May 27 21:05:30 2000
@@ -0,0 +1,11 @@
+--- c++.orig	Sat May 27 17:48:43 2000
++++ c++	Sat May 27 17:50:10 2000
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ #	GNU C++ compilation
+ # Note, ${foo:+bar} is just a weird way of commenting out bar
+-eg++ -c -O2  -fkeep-inline-functions -pipe -W -Wall -Wpointer-arith -ffor-scope -Woverloaded-virtual \
++%%CXX%% -c %%CXXFLAGS%% -fkeep-inline-functions -pipe -W -Wall -Wpointer-arith -ffor-scope -Woverloaded-virtual \
+ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
+ ${foo:+'-Wold-style-cast'} -Wbad-function-cast -Wwrite-strings \
+ ${foo:+'-Winline -Wredundant-decls'} -fno-rtti ${fpp:+'-fno-exceptions'} \
diff -ruN linalg/files/patch-ab linalg.bak/files/patch-ab
--- linalg/files/patch-ab	Wed Dec 31 16:00:00 1969
+++ linalg.bak/files/patch-ab	Fri Oct 25 01:32:12 2002
@@ -0,0 +1,11 @@
+--- LinAlg.h.orig	Fri Oct 25 01:30:42 2002
++++ LinAlg.h	Fri Oct 25 01:30:53 2002
+@@ -73,7 +73,7 @@
+ 
+ #include "myenv.h"
+ #include "std.h"
+-#if defined(__GNUC__) && __GNUC_MINOR__ < 90
++#if defined(__GNUC__) && __GNUC_MINOR__ < 90 && !defined(__FreeBSD__)
+ #include <values.h>
+ #else
+ #include <limits.h>
diff -ruN linalg/pkg-descr linalg.bak/pkg-descr
--- linalg/pkg-descr	Fri Nov 29 15:17:46 2002
+++ linalg.bak/pkg-descr	Thu Apr  6 18:47:51 2000
@@ -14,6 +14,6 @@
   heap storage, and are safe.
 - Every feature is extensively tested in the validation code (included).
 
-WWW: http://okmij.org/ftp/packages.html
+WWW: http://pobox.com/~oleg/ftp/packages.html
 
 Oleg Kiselyov <oleg@pobox.com>
diff -ruN linalg/pkg-message linalg.bak/pkg-message
--- linalg/pkg-message	Fri Nov 29 15:19:08 2002
+++ linalg.bak/pkg-message	Thu Apr  6 18:47:51 2000
@@ -3,7 +3,6 @@
 	vmatrix vvector vmatrix1 vmatrix2 vlastreams
 	vali vhjmin vfminbr vzeroin
 	vsvd vslesing sample_ult sample_adv
-	sample_fill tslesing tpseudo-inv
 
 See comments in a LinAlg/Makefile for details, as well as NumMath.dr.
 The verification code checks to see that all the functions in this
--- diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211300015.gAU0F1w4025118>