View | Details | Raw Unified | Return to bug 114710
Collapse All | Expand All

(-)math/tetgen/Makefile (-6 / +4 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tetgen
8
PORTNAME=	tetgen
9
PORTVERSION=	1.4.1
9
PORTVERSION=	1.4.2
10
CATEGORIES=	math
10
CATEGORIES=	math
11
MASTER_SITES=	http://www.wias-berlin.de/people/si/ \
11
MASTER_SITES=	http://www.wias-berlin.de/people/si/ \
12
		http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
12
		http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
Lines 21-31 Link Here
21
MAKEFILE=	makefile
21
MAKEFILE=	makefile
22
ALL_TARGET=	tetgen tetlib
22
ALL_TARGET=	tetgen tetlib
23
23
24
.if defined(MAINTAINER_MODE)
25
test:	build
26
	(cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
27
.endif
28
29
do-install:
24
do-install:
30
	@${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
25
	@${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
31
	@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
26
	@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
Lines 34-38 Link Here
34
	@${MKDIR} ${EXAMPLESDIR}
29
	@${MKDIR} ${EXAMPLESDIR}
35
	${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
30
	${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
36
.endif
31
.endif
32
33
regression-test:
34
	(cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly )
37
35
38
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)math/tetgen/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tetgen1.4.1.tar.gz) = 916934ae75478d12af197f45b678ef15
1
MD5 (tetgen1.4.2.tar.gz) = 59c92b223f69cc7e50ae6cd9d1539db1
2
SHA256 (tetgen1.4.1.tar.gz) = c02633d72d86fdc55c17da93a6b18d871acbb69de7b45b0a0ffbbd9927315321
2
SHA256 (tetgen1.4.2.tar.gz) = 38f24694983f20e5bffa2ebc1d35a7c3abea50479a6df6449cc900bf2732891d
3
SIZE (tetgen1.4.1.tar.gz) = 550952
3
SIZE (tetgen1.4.2.tar.gz) = 294143
(-)math/tetgen/files/patch-makefile (-22 / +25 lines)
Lines 1-26 Link Here
1
--- makefile.orig	Fri Jan 13 15:30:08 2006
1
--- makefile.orig	Mon Apr 16 16:45:21 2007
2
+++ makefile	Wed Mar  8 16:20:59 2006
2
+++ makefile	Wed Jul 18 22:04:08 2007
3
@@ -6,12 +6,12 @@
3
@@ -11,7 +11,7 @@
4
 
4
 # CXX should be set to the name of your favorite C++ compiler.
5
 # CC should be set to the name of your favorite C++ compiler.
5
 # ===========================================================
6
 
6
 
7
-CC = g++
7
-CXX = g++
8
+CC = $(CXX)
8
+#CXX = g++
9
 
9
 #CXX = icpc
10
 # OPT is the level of optimiztion, default is -O. One should try -O2, -O3
10
 #CXX = CC
11
 #   ... to find the best optimization level.
11
 
12
 
12
@@ -19,7 +19,7 @@
13
-OPT = -g
13
 # -O2, -O3 ... to find the best optimization level.
14
+OPT = ${CXXFLAGS}
14
 # ===================================================================
15
 
15
 
16
 # CFLAGS is a list of switches to compile TetGen.
16
-CXXFLAGS = -g
17
 #
17
+#CXXFLAGS = -g
18
@@ -23,7 +23,7 @@
18
 
19
 # PREDCXXFLAGS is for compiling J. Shewchuk's predicates. It should
20
 # always be equal to -O0 (no optimization). Otherwise, TetGen may not
21
@@ -38,7 +38,7 @@
19
 #   down the speed of TetGen.  They can be skipped by define the -DNDEBUG
22
 #   down the speed of TetGen.  They can be skipped by define the -DNDEBUG
20
 #   switch.
23
 #   switch.
21
 
24
 
22
-CFLAGS = -Wall -DSELF_CHECK
25
-SWITCHES = -Wall -DSELF_CHECK
23
+CFLAGS = -DNDEBUG
26
+SWITCHES = -DNDEBUG
24
 
27
 
25
 #CFLAGS = -funroll-all-loops -fomit-frame-pointer\
28
 # SWITCHES = -Wall -Wabi -Wctor-dtor-privacy \
26
 #         -Wall -Wabi -Wctor-dtor-privacy \
29
 #            -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo \

Return to bug 114710