#4 Patch for macosx

closed-fixed
nobody
None
5
2004-07-26
2004-03-04
Piet van Oostrum
No

This patch allows you to install kinterbasdb on Mac OS
X when Firebird 1.5 (the framework installation) has
been installed:

diff -c
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py.\~1\~
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py
***
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py.~1~
Tue Nov 11 06:17:34 2003
--- /Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py
Thu Mar 4 16:56:03 2004
***************
*** 734,739 ****
--- 734,743 ----
assert os.path.isfile(libUltimateDest)
print ' *** CYGWIN LIBRARY GENERATION : end ***\n'

+ elif sys.platform == 'darwin':
+ PLATFORM_SPECIFIC_EXTRA_LINKER_ARGS =
['-framework', 'Firebird']
+ DATABASE_INCLUDE_DIR =
'/Library/Frameworks/Firebird.framework/Headers'
+
else: # not win32 or cygwin
# If the platform isn't Linux, issue a warning.
if not sys.platform.lower().startswith('linux'):

Discussion

  • Logged In: YES
    user_id=414645

    Thanks for the patch. I'll incorporate it into the next
    release.

     
    • status: open --> open-fixed
     
  • Logged In: YES
    user_id=414645

    Now in CVS.

     
    • status: open-fixed --> closed-fixed