[59643] trunk/dports/devel/judy/Portfile

jmr at macports.org jmr at macports.org
Sun Oct 18 07:30:09 PDT 2009


Revision: 59643
          http://trac.macports.org/changeset/59643
Author:   jmr at macports.org
Date:     2009-10-18 07:30:05 -0700 (Sun, 18 Oct 2009)
Log Message:
-----------
judy: remove bit64 variant, obey build_arch instead

Modified Paths:
--------------
    trunk/dports/devel/judy/Portfile

Modified: trunk/dports/devel/judy/Portfile
===================================================================
--- trunk/dports/devel/judy/Portfile	2009-10-18 13:54:45 UTC (rev 59642)
+++ trunk/dports/devel/judy/Portfile	2009-10-18 14:30:05 UTC (rev 59643)
@@ -22,13 +22,12 @@
                 sha1    3540f003509acac3b1260424380ddf97914f7745 \
                 rmd160  00cc2d28fd385e64c8fb9a564e186aee4bd52b4f
 
-configure.args  --mandir=${prefix}/share/man \
-                --enable-32-bit
+configure.args  --mandir=${prefix}/share/man
 
-variant bit64 description "Compile 64-bit" {
-    configure.args-delete   --enable-32-bit
+if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
     configure.args-append   --enable-64-bit
-    configure.cflags-append -m64
+} elseif {$build_arch == "i386" || $build_arch == "ppc"} {
+    configure.args-append   --enable-32-bit
 }
 
 use_parallel_build 	no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091018/cc135ba5/attachment.html>


More information about the macports-changes mailing list