[69729] trunk/dports/graphics/jgraph

snc at macports.org snc at macports.org
Wed Jul 14 13:10:41 PDT 2010


Revision: 69729
          http://trac.macports.org/changeset/69729
Author:   snc at macports.org
Date:     2010-07-14 13:10:40 -0700 (Wed, 14 Jul 2010)
Log Message:
-----------
add patch, #24020. add configure.cc and supported_archs

Modified Paths:
--------------
    trunk/dports/graphics/jgraph/Portfile
    trunk/dports/graphics/jgraph/files/patch-makefile.diff

Modified: trunk/dports/graphics/jgraph/Portfile
===================================================================
--- trunk/dports/graphics/jgraph/Portfile	2010-07-14 19:50:40 UTC (rev 69728)
+++ trunk/dports/graphics/jgraph/Portfile	2010-07-14 20:10:40 UTC (rev 69729)
@@ -25,10 +25,15 @@
 checksums           md5 f73fa282f7fe6cf562e08c70da7bfb65 \
                     sha1 4ea864f7bca8cf03217fc57a745753092493ddfa \
                     rmd160 b575acd5fa8f99c8433e81128619a7247881c306
+
+supported_archs     ppc i386
 patchfiles          patch-jgraph.h.diff \
                     patch-list.c.diff \
                     patch-makefile.diff \
                     patch-token.c.diff
+post-patch {
+    reinplace s|@@CC@@|${configure.cc}| ${worksrcpath}/makefile
+}
 
 post-extract {
     # The tarball comes with object files!

Modified: trunk/dports/graphics/jgraph/files/patch-makefile.diff
===================================================================
--- trunk/dports/graphics/jgraph/files/patch-makefile.diff	2010-07-14 19:50:40 UTC (rev 69728)
+++ trunk/dports/graphics/jgraph/files/patch-makefile.diff	2010-07-14 20:10:40 UTC (rev 69729)
@@ -5,7 +5,7 @@
  # jgraph.1 to be the directory containing the example jgraphs.
  
 -CC = gcc -LCC
-+CC = gcc -DLCC -O3
++CC = @@CC@@ -DLCC -O3 -m32
  
  OBJS = draw.o \
  		edit.o \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100714/4e267b58/attachment.html>


More information about the macports-changes mailing list