Ticket #24310: db46-on-ppc.diff

File db46-on-ppc.diff, 1.2 KB (added by elelay (Eric Le Lay), 13 years ago)

diff against 72533

  • files/patch-setup.py-db46.diff

     
     1--- setup.py.orig       2010-10-19 22:33:25.000000000 +0200
     2+++ setup.py    2010-10-19 22:33:54.000000000 +0200
     3@@ -799,7 +799,7 @@
     4                 # BerkeleyDB 4.6.x is not stable on many architectures.
     5                 arch = platform_machine()
     6                 if arch not in ('i386', 'i486', 'i586', 'i686',
     7-                                'x86_64', 'ia64'):
     8+                                'x86_64', 'ia64', 'Power Macintosh'):
     9                     return False
     10             return True
     11 
  • Portfile

     
    4545                        patch-Mac-Makefile.in.diff \
    4646                        patch-Mac-PythonLauncher-Makefile.in.diff \
    4747                        patch-Mac-Tools-Doc-setup.py.diff \
     48                        patch-setup.py-db46.diff \
    4849                        patch-Lib-ctypes-macholib-dyld.py.diff
    4950
    5051depends_lib             port:gettext port:zlib port:openssl port:tk \