ports/114710: math/tetgen: upgrade to 1.4.2.
Thierry Thomas
thierry at FreeBSD.org
Wed Jul 18 20:30:03 UTC 2007
>Number: 114710
>Category: ports
>Synopsis: math/tetgen: upgrade to 1.4.2.
>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 Jul 18 20:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 6.2-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 6.2-STABLE
>Description:
- Upgrade to 1.4.2 (notified by Pedro F. Giffuni, who had a
problem with his machine and cannot send this PR himself);
Changelog at <http://tetgen.berlios.de/relnotes.html>.
- Replace the test target by the canonical regression-test.
>How-To-Repeat:
N/A.
>Fix:
Please apply the following patch:
--- tetgen.diff begins here ---
diff -urN math/tetgen.orig/Makefile math/tetgen/Makefile
--- math/tetgen.orig/Makefile Thu Aug 3 23:21:57 2006
+++ math/tetgen/Makefile Wed Jul 18 22:01:36 2007
@@ -6,7 +6,7 @@
#
PORTNAME= tetgen
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.2
CATEGORIES= math
MASTER_SITES= http://www.wias-berlin.de/people/si/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
@@ -21,11 +21,6 @@
MAKEFILE= makefile
ALL_TARGET= tetgen tetlib
-.if defined(MAINTAINER_MODE)
-test: build
- (cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
-.endif
-
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
@@ -34,5 +29,8 @@
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
.endif
+
+regression-test:
+ (cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
.include <bsd.port.mk>
diff -urN math/tetgen.orig/distinfo math/tetgen/distinfo
--- math/tetgen.orig/distinfo Thu Aug 3 23:21:57 2006
+++ math/tetgen/distinfo Wed Jul 18 22:01:48 2007
@@ -1,3 +1,3 @@
-MD5 (tetgen1.4.1.tar.gz) = 916934ae75478d12af197f45b678ef15
-SHA256 (tetgen1.4.1.tar.gz) = c02633d72d86fdc55c17da93a6b18d871acbb69de7b45b0a0ffbbd9927315321
-SIZE (tetgen1.4.1.tar.gz) = 550952
+MD5 (tetgen1.4.2.tar.gz) = 59c92b223f69cc7e50ae6cd9d1539db1
+SHA256 (tetgen1.4.2.tar.gz) = 38f24694983f20e5bffa2ebc1d35a7c3abea50479a6df6449cc900bf2732891d
+SIZE (tetgen1.4.2.tar.gz) = 294143
diff -urN math/tetgen.orig/files/patch-makefile math/tetgen/files/patch-makefile
--- math/tetgen.orig/files/patch-makefile Sat Mar 11 18:41:28 2006
+++ math/tetgen/files/patch-makefile Wed Jul 18 22:04:57 2007
@@ -1,26 +1,29 @@
---- makefile.orig Fri Jan 13 15:30:08 2006
-+++ makefile Wed Mar 8 16:20:59 2006
-@@ -6,12 +6,12 @@
-
- # CC should be set to the name of your favorite C++ compiler.
-
--CC = g++
-+CC = $(CXX)
-
- # OPT is the level of optimiztion, default is -O. One should try -O2, -O3
- # ... to find the best optimization level.
-
--OPT = -g
-+OPT = ${CXXFLAGS}
-
- # CFLAGS is a list of switches to compile TetGen.
- #
-@@ -23,7 +23,7 @@
+--- makefile.orig Mon Apr 16 16:45:21 2007
++++ makefile Wed Jul 18 22:04:08 2007
+@@ -11,7 +11,7 @@
+ # CXX should be set to the name of your favorite C++ compiler.
+ # ===========================================================
+
+-CXX = g++
++#CXX = g++
+ #CXX = icpc
+ #CXX = CC
+
+@@ -19,7 +19,7 @@
+ # -O2, -O3 ... to find the best optimization level.
+ # ===================================================================
+
+-CXXFLAGS = -g
++#CXXFLAGS = -g
+
+ # PREDCXXFLAGS is for compiling J. Shewchuk's predicates. It should
+ # always be equal to -O0 (no optimization). Otherwise, TetGen may not
+@@ -38,7 +38,7 @@
# down the speed of TetGen. They can be skipped by define the -DNDEBUG
# switch.
--CFLAGS = -Wall -DSELF_CHECK
-+CFLAGS = -DNDEBUG
+-SWITCHES = -Wall -DSELF_CHECK
++SWITCHES = -DNDEBUG
- #CFLAGS = -funroll-all-loops -fomit-frame-pointer\
- # -Wall -Wabi -Wctor-dtor-privacy \
+ # SWITCHES = -Wall -Wabi -Wctor-dtor-privacy \
+ # -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo \
--- tetgen.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list