[58518] trunk/dports/textproc/openjade/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Sep 29 23:05:13 PDT 2009


Revision: 58518
          http://trac.macports.org/changeset/58518
Author:   ryandesign at macports.org
Date:     2009-09-29 23:05:09 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
openjade: use configure.cxx

Modified Paths:
--------------
    trunk/dports/textproc/openjade/Portfile

Modified: trunk/dports/textproc/openjade/Portfile
===================================================================
--- trunk/dports/textproc/openjade/Portfile	2009-09-30 05:53:54 UTC (rev 58517)
+++ trunk/dports/textproc/openjade/Portfile	2009-09-30 06:05:09 UTC (rev 58518)
@@ -44,18 +44,9 @@
 		  reinplace "s|^#pragma interface||g" ${worksrcpath}/grove/Node.h
 		  reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl
 		  reinplace "s|^#pragma interface||g" ${worksrcpath}/spgrove/GroveApp.h
+		  reinplace "s|CXX=|CXX=${configure.cxx}|g" ${worksrcpath}/libtool
 }
 
-platform darwin {
-    post-configure {
-		if {${os.major} < 8} {
-			reinplace "s|CXX=|CXX=/usr/bin/g++-3.3|g" ${worksrcpath}/libtool
-		} else {
-			reinplace "s|CXX=|CXX=/usr/bin/g++-4.0|g" ${worksrcpath}/libtool
-		}
-	}
-}
-
 destroot.target	install install-man
 
 post-destroot	{ system "install -d -m 755 ${destroot}${prefix}/share/sgml/openjade"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090929/880dfe1f/attachment.html>


More information about the macports-changes mailing list