Revision
32346
Author
gwright@macports.org
Date
2007-12-26 09:44:24 -0800 (Wed, 26 Dec 2007)

Log Message

Fix build error and add dependency on teTeX.

Modified Paths

Diff

Modified: trunk/dports/math/cadabra/Portfile (32345 => 32346)


--- trunk/dports/math/cadabra/Portfile	2007-12-26 17:04:14 UTC (rev 32345)
+++ trunk/dports/math/cadabra/Portfile	2007-12-26 17:44:24 UTC (rev 32346)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name		cadabra
 version		0.128
+revision	1
 categories	math
 platforms	darwin
 maintainers	gwright@macports.org
@@ -34,14 +35,16 @@
 		port:pcrexx	\
 		port:gmp	\
 		port:LiE	\
-		port:gtkmm
+		port:gtkmm	\
+		port:teTeX
 
+build.env	CC=gcc CXX=g++
+
 post-build	{
 		  system "env CDB_LOG=1 ${build.cmd} advtest"
 		}
 
-post-activate	{ if { [variant_isset texmacs] } {
-			system "texhash"
-		  }
+post-activate	{
+		  system "texhash"
 		}