[96272] trunk/dports/databases/oracle-instantclient/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 6 13:55:55 PDT 2012


Revision: 96272
          https://trac.macports.org/changeset/96272
Author:   ryandesign at macports.org
Date:     2012-08-06 13:55:53 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
oracle-instantclient: don't return an error outside of a phase (#35432)

Modified Paths:
--------------
    trunk/dports/databases/oracle-instantclient/Portfile

Modified: trunk/dports/databases/oracle-instantclient/Portfile
===================================================================
--- trunk/dports/databases/oracle-instantclient/Portfile	2012-08-06 20:23:12 UTC (rev 96271)
+++ trunk/dports/databases/oracle-instantclient/Portfile	2012-08-06 20:55:53 UTC (rev 96272)
@@ -11,6 +11,7 @@
 categories              databases
 platforms               macosx
 maintainers             ryandesign
+supported_archs         x86_64 i386 ppc
 homepage                http://www.oracle.com/technetwork/database/features/instant-client/
 
 # The distfiles mirror has been configured to not mirror these files.
@@ -79,18 +80,13 @@
 
 distfiles
 foreach my_requested_arch ${my_requested_archs} {
-    set found 0
     foreach {my_arch my_tag my_arch_version my_distname_format my_worksrcdir_format weird_prefix} ${my_arch_info} {
         if {${my_arch} == ${my_requested_arch}} {
-            set found 1
             foreach my_distfile_type {basic sdk} {
                 distfiles-append [suffix [format ${my_distname_format} ${my_distfile_type} ${my_arch_version}]]:${my_tag}
             }
         }
     }
-    if {0 == ${found}} {
-        return -code error "${name} is not available for ${my_requested_arch}"
-    }
 }
 
 pre-fetch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/9b677ede/attachment-0001.html>


More information about the macports-changes mailing list