[20875] trunk/dports/lang/ocaml

source_changes at macosforge.org source_changes at macosforge.org
Wed Dec 6 21:03:08 PST 2006


Revision: 20875
          http://trac.macosforge.org/projects/macports/changeset/20875
Author:   pguyot at kallisys.net
Date:     2006-12-06 21:03:07 -0800 (Wed, 06 Dec 2006)

Log Message:
-----------
lang/ocaml
Enable dynamic linking feature on x86.
Ticket: #11113

Thanks Kevin.

Modified Paths:
--------------
    trunk/dports/lang/ocaml/Portfile

Added Paths:
-----------
    trunk/dports/lang/ocaml/files/
    trunk/dports/lang/ocaml/files/patch-configure

Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile	2006-12-06 20:34:45 UTC (rev 20874)
+++ trunk/dports/lang/ocaml/Portfile	2006-12-07 05:03:07 UTC (rev 20875)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name 			ocaml
 version			3.09.3
+revision		1
 platforms		darwin
 maintainers		pguyot at kallisys.net
 categories		lang
@@ -19,6 +20,7 @@
 			system	and a powerful module system in the style of Standard ML.
 
 use_bzip2			yes
+patchfiles			patch-configure
 
 # Configure.
 configure.pre_args	-prefix ${prefix} 

Added: trunk/dports/lang/ocaml/files/patch-configure
===================================================================
--- trunk/dports/lang/ocaml/files/patch-configure	                        (rev 0)
+++ trunk/dports/lang/ocaml/files/patch-configure	2006-12-07 05:03:07 UTC (rev 20875)
@@ -0,0 +1,11 @@
+--- configure	2006-03-30 19:00:19.000000000 +0900
++++ configure	2006-12-07 14:07:21.000000000 +0900
+@@ -536,7 +536,7 @@
+       byteccrpath="-Wl,-rpath,"
+       mksharedlibrpath="-rpath "
+       shared_libraries_supported=true;;
+-    powerpc-apple-darwin*)
++    powerpc-apple-darwin*|i686-apple-darwin*)
+       mksharedlib="cc -bundle -flat_namespace -undefined suppress -o"
+       bytecccompopts="$dl_defs $bytecccompopts"
+       #sharedcccompopts="-fnocommon"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061206/5d0e899f/attachment.html


More information about the macports-changes mailing list