[83508] trunk/dports/lang/erlang/Portfile

bfulgham at macports.org bfulgham at macports.org
Sat Sep 3 13:50:53 PDT 2011


Revision: 83508
          http://trac.macports.org/changeset/83508
Author:   bfulgham at macports.org
Date:     2011-09-03 13:50:48 -0700 (Sat, 03 Sep 2011)
Log Message:
-----------
Back out the wxWdigets-devel change.  It turns out upstream Erlang doesn't
support wxWidgets 2.9.x.

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

Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile	2011-09-03 20:19:25 UTC (rev 83507)
+++ trunk/dports/lang/erlang/Portfile	2011-09-03 20:50:48 UTC (rev 83508)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 name            erlang
 version         R14B03
-revision        2
+revision        3
 categories      lang erlang
 maintainers     bfulgham
 platforms       darwin
@@ -80,6 +80,7 @@
  
         set erts_dir   erts-5.8.4
         set erl_interface_dir   erl_interface-3.7.4
+	set wx_dir wx-0.98.10
 
         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl
         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start
@@ -89,6 +90,10 @@
         foreach x {dialyzer ear ecc elink epmd erl erlc escript run_erl start to_erl typer} { file delete -force ${destroot}${prefix}/bin/${x} }
         foreach x {dialyzer erl erlc escript run_erl start to_erl typer} { system "ln -s ../lib/erlang/bin/${x} ${destroot}${prefix}/bin/${x}" }
 
+	xinstall -d -m 0755 ${destroot}${prefix}/lib/erlang/lib/${wx_dir}/priv
+	eval xinstall -m 0755 [glob ${worksrcpath}/lib/wx/priv/*] \
+		${destroot}${prefix}/lib/erlang/lib/${wx_dir}/priv
+
         file delete -force ${destroot}${prefix}/lib/erlang/bin/epmd
         system "ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd"
         system "ln -s ../lib/erlang/lib/${erl_interface_dir}/bin/erl_call ${destroot}${prefix}/bin/erl_call"
@@ -129,6 +134,7 @@
         supported_archs i386 ppc
     }
 }
+
 platform darwin {
     if {${configure.build_arch} == "x86_64" || ${configure.build_arch} == "ppc64"} {
         configure.args-append --enable-darwin-64bit
@@ -145,14 +151,6 @@
         depends_run-append       port:tk
 }
 
-variant wxwidgets_devel description {Build wxWidgets support (64-bit)} {
-        patchfiles-delete        patch-disable_wx.diff
-        patchfiles-append        patch-lib_wx_configure.in \
-                                 patch-lib_wx_configure
-        depends_lib-append       port:wxWidgets-devel
-        depends_run-append       port:tk
-}
-
 variant ssl description {Build SSL support} {
         configure.args-delete    --without-ssl
         configure.args-append    --with-ssl=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110903/31f8d121/attachment-0001.html>


More information about the macports-changes mailing list