Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv24204/stable/main/finkinfo/languages

Modified Files:
        erlang-otp.info 
Log Message:
fix the build (deterministic dependencies, link failures) on 10.6/i386 (doesn't 
seem arch-specific problem)


Index: erlang-otp.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/erlang-otp.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- erlang-otp.info     8 May 2012 16:53:38 -0000       1.3
+++ erlang-otp.info     19 Jul 2012 06:04:20 -0000      1.4
@@ -4,7 +4,7 @@
 Version: r15b01
 Type: v (R15B01)
 License: OSI-Approved
-Revision: 1
+Revision: 2
 Description: General-purpose programming language
 Maintainer: None <[email protected]>
 
@@ -12,7 +12,7 @@
 libncurses5-shlibs, gd2-shlibs, unixodbc2-shlibs | unixodbc2-nox-shlibs
 <<
 BuildDepends: <<
-libncurses5, gd2 | gd2-nox, unixodbc2 | unixodbc2-nox, fink (>= 0.24.12-1)
+libncurses5, gd2, unixodbc2 | unixodbc2-nox, fink (>= 0.24.12-1)
 <<
 Source: http://www.erlang.org/download/otp_src_%type_raw[v].tar.gz
 Source-MD5: f12d00f6e62b36ad027d6c0c08905fad
@@ -23,8 +23,17 @@
 Source3-MD5: 7569cae680eecd64e7e5d952be788ee5
 Source3ExtractDir: docs-html
 
-# PatchFile: %n.patch
-# PatchFile-MD5: cee6dbc8f4b7da5efc17adc3ffa51588
+PatchScript: <<
+       # doesn't seem compatible with current versions of wx (build
+       # failure) and deps were never specified so wx was not
+       # reliably used anyway
+       perl -pi -e 
's/WXERL_CAN_BUILD_DRIVER=true/WXERL_CAN_BUILD_DRIVER=false/g' lib/wx/configure
+
+       # use unixodbc2 not iodbc (fink has the latter but build
+       # system wants things that apple's libiodbc has but fink's
+       # does not, but fink's libodbc does)
+       perl -pi -e 's/-liodbc/-lodbc/g' lib/odbc/configure
+<<
 
 DocFiles: AUTHORS EPLICENCE README.* 
 NoSetCPPFLAGS: true


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to