FreeBSD Bugzilla – Attachment 79895 Details for
Bug 114710
math/tetgen: upgrade to 1.4.2.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tetgen.diff
tetgen.diff (text/plain), 3.08 KB, created by
Thierry Thomas
on 2007-07-18 21:30:02 UTC
(
hide
)
Description:
tetgen.diff
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2007-07-18 21:30:02 UTC
Size:
3.08 KB
patch
obsolete
>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 \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114710
: 79895