I am puzzled that I didn't run into this problem before
in x86_64 fink but under the 10.5 version, I am finding that
aquaterm fails to build due to the usage of the wrong abi...

<built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the 
new objc abi

I am able to work around this with the attached aquaterm.info which makes sure 
that ARCHS is
set to x86_64 when %m is set to that and also that MACOSX_DEPLOYMENT_TARGET=10.5
is passed to xcodebuild in that case. This allows 'fink -m install' to build 
aquaterm
under x86_64 fink.
         Jack
Package: aquaterm
Version: 1.0.1
Revision: 6
Source: mirror:sourceforge:aquaterm/aquaterm_src.%v.tar.gz
Source-MD5: e9d3ecdfe770d6f09a748add9886d1a9
PatchFile: %n.patch
PatchFile-MD5: d1222c65eef6a3b53265421bc8de50b9
BuildDepends: fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
GCC: 4.0
SourceDirectory: aquaterm
CompileScript: echo nothing to do here, everything is done in the installscript
InstallScript: <<
 #!/bin/sh -ex

if [ %m = "powerpc" ]; then
 xcodebuild install -target AquaTerm -configuration Deployment DSTROOT=%d 
INSTALL_PATH=%p/Applications DYLIB_INSTALL_NAME_BASE=%p/Library/Frameworks 
GCC_PREPROCESSOR_DEFINITIONS="AQT_APP" ARCHS="ppc"
 elif [ %m = "x86_64" ]; then
xcodebuild install -target AquaTerm -configuration Deployment DSTROOT=%d 
INSTALL_PATH=%p/Applications DYLIB_INSTALL_NAME_BASE=%p/Library/Frameworks 
GCC_PREPROCESSOR_DEFINITIONS="AQT_APP" ARCHS="x86_64" 
MACOSX_DEPLOYMENT_TARGET=10.5
else
xcodebuild install -target AquaTerm -configuration Deployment DSTROOT=%d 
INSTALL_PATH=%p/Applications DYLIB_INSTALL_NAME_BASE=%p/Library/Frameworks 
GCC_PREPROCESSOR_DEFINITIONS="AQT_APP" ARCHS="i386"
fi

 mkdir -p %i/include/aquaterm
 cp AQTAdapter.h aquaterm.h %i/include
 cp AQTAdapter.h %i/include/aquaterm
 mkdir -p %i/lib %i/Library/Frameworks
 mv %i/Applications/AquaTerm.framework %i/Library/Frameworks
 ln -s %p/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm 
%i/lib/libaquaterm.1.0.0.dylib
 ln -s %p/lib/libaquaterm.1.0.0.dylib %i/lib/libaquaterm.dylib
 mkdir -p %i/share/%n
 cp -p -R ../adapters %i/share/%n
 chmod u+w %i/Library/Frameworks/AquaTerm.framework 
 chmod u+w %i/Library/Frameworks/AquaTerm.framework/Versions
<<
SplitOff: <<
  Package: %N-shlibs
  Replaces: %N (<= 1.0-1)
  Files: Library lib/libaquaterm.*.dylib
  Shlibs: <<
   %p/Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm 1.0.0 %n (>= 
1.0.0-1)
  <<
  DocFiles: ReadMe ReleaseNotes INSTALL
<<
SplitOff2: <<
  Package: %N-dev
  BuildDependsOnly: True
  Depends: %N-shlibs (= %v-%r)
  Replaces: %N (<= 1.0-1)
  Files: include lib/libaquaterm.dylib share/%N
  DocFiles: ReadMe ReleaseNotes INSTALL
<<
DocFiles: ReadMe ReleaseNotes INSTALL Help/*.html
License: OSI-Approved
Description: Displays vector graphics in Aqua
DescPackaging: <<
  Package previously maintained by Jeffrey Whitaker. 
  Package ownership assumed by Kevin Horton as of aquaterm-1.0.1-5.
  
  AQTPlot.m patched in aquaterm-1.0.1-5 to remove the 1000 px max
  window width.  See:
  
<http://sourceforge.net/mailarchive/message.php?msg_name=CB4B60C2-CFD5-469D-8E56-6D5638D58138%40mac.com>
<<
Maintainer: Kevin Horton <khorto...@rogers.com>
Homepage: http://aquaterm.sourceforge.net
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to