Skip to content
Permalink
Browse files

py*-sip: add patch to enable PPC64 arch

  • Loading branch information
michaelld committed Mar 26, 2018
1 parent decd8c4 commit efae3118249ae6ae8bc5ecfed45b2382fd8a443a
Showing with 13 additions and 1 deletion.
  1. +2 −1 python/py-sip/Portfile
  2. +11 −0 python/py-sip/files/patch-add_ppc64.diff
@@ -66,7 +66,8 @@ if {${name} ne ${subport}} {

patchfiles patch-siputils.py.diff \
patch-specs_macx-g++.diff \
patch-configure.py.diff
patch-configure.py.diff \
patch-add_ppc64.diff

use_configure yes
pre-configure {
@@ -0,0 +1,11 @@
--- configure.py.orig
+++ configure.py
@@ -707,7 +707,7 @@

g = optparse.OptionGroup(p, title="MacOS X Configuration")
g.add_option("--arch", action="append", default=[], dest="arch",
- choices=["i386", "x86_64", "ppc"],
+ choices=["i386", "x86_64", "ppc", "ppc64"],
help="build for architecture ARCH")
g.add_option("--deployment-target", action="store", default='',
metavar="VERSION", dest="deployment_target",

0 comments on commit efae311

Please sign in to comment.
You can’t perform that action at this time.