Skip Menu |

This queue is for tickets about the DBD-Firebird CPAN distribution.

Report information
The Basics
Id: 68777
Status: resolved
Priority: 0/
Queue: DBD-Firebird

People
Owner: MARIUZ [...] cpan.org
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.52
Fixed in: (no value)



Subject: Support for OSX
This patch adds support for compiling the module on Mac OSX.
Subject: 0001-support-for-OSX.patch
From fbb67549c1834f0873b00c005967f390db26826c Mon Sep 17 00:00:00 2001 From: Rafael Kitover <rkitover@cpan.org> Date: Sun, 12 Jun 2011 12:30:11 -0400 Subject: [PATCH] support for OSX --- Makefile.PL | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index fc9f181..48ac5a2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -89,8 +89,8 @@ if ($Config::Config{osname} eq 'MSWin32') else { $isql_name = 'isql'; - @ib_bin_dirs = (qw(/opt/firebird/bin /usr/bin /usr/local/bin)); - @ib_inc_dirs = (qw(/opt/firebird/include /usr/include)); + @ib_bin_dirs = (qw(/opt/firebird/bin /usr/bin /usr/local/bin /Library/Frameworks/Firebird.framework/Resources/bin)); + @ib_inc_dirs = (qw(/opt/firebird/include /usr/include /Library/Frameworks/Firebird.framework/Headers)); } sub locate_dbi_arch_dir { @@ -534,6 +534,11 @@ elsif (($os eq 'linux') || ($os eq 'freebsd')) $MakeParams{'LIBS'} = "-L$ib_lib -l$lib $ldl "; } +elsif ($os eq 'darwin') +{ + use Config; + $MakeParams{'LDDLFLAGS'} = $Config{lddlflags} . " -framework Firebird "; +} elsif ($os eq 'hpux') { $MakeParams{'LIBS'} = '-lgds -ldld'; -- 1.7.5.1
fixed in git , 0.54 will be uploaded soon