R13A patch for lib/wx/examples

View: New views
4 Messages — Rating Filter:   Alert me  

R13A patch for lib/wx/examples

by Kenji Rikitake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is a patch for compiling Erlang R13A on FreeBSD 7.1-RELEASE.
Note that I apply all Giacomo's patches for Erlang R12B5
(available on FreeBSD port lang/erlang) BEFORE applying
this patch.

Kenji Rikitake

R13A patch to solve lib/wx/examples installation errors
on FreeBSD 7.1-RELEASE
by Kenji Rikitake 12-APR-2009

Symptom:

R13A lib/wx/examples files causes installation error on FreeBSD
7.1-RELEASE.  This is caused by the Makefile code which errorneously
trying to install BEAM binaries and other files as OS executables.

Workaround:

Using INSTALL_DATA instead of INSTALL_PROGRAM in the Makefiles solves
this issue.

Apply the following patches:

--- ./lib/wx/examples/simple/Makefile.FCS 2009-03-13 00:04:24.000000000 +0900
+++ ./lib/wx/examples/simple/Makefile 2009-04-12 14:10:58.000000000 +0900
@@ -52,11 +52,11 @@
 docs:
 
 release_spec:
  $(INSTALL_DIR) $(EXRELSYSDIR)
  $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
- $(INSTALL_PROGRAM) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
+ $(INSTALL_DATA) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
 
 release_tests_spec:
 
 release_docs_spec:
 
--- ./lib/wx/examples/sudoku/Makefile.FCS 2009-03-12 23:44:22.000000000 +0900
+++ ./lib/wx/examples/sudoku/Makefile 2009-04-12 14:11:32.000000000 +0900
@@ -52,11 +52,11 @@
 docs:
 
 release_spec:
  $(INSTALL_DIR) $(EXRELSYSDIR)
  $(INSTALL_DATA) $(TESTSRC) sudoku.hrl $(EXRELSYSDIR)
- $(INSTALL_PROGRAM) $(TESTTARGETS) $(EXRELSYSDIR)
+ $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
 
 release_tests_spec:
 
 release_docs_spec:
 
_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

R13B snapshop 2009-04-11 patch for lib/wx/examples Re: R13A patch for lib/wx/examples

by Kenji Rikitake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sources under lib/wx/examples are broken on FreeBSD due to the Makefile
errors.  A patch follows.  // Kenji Rikitake

R13B snapshot 2009-04-11 patch
to solve lib/wx/examples installation errors
on FreeBSD 7.1-RELEASE
by Kenji Rikitake 12-APR-2009

Symptom:

R13B snapshot 2009-04-11 lib/wx/examples/xrc files causes installation
error on FreeBSD 7.1-RELEASE.  This is caused by the Makefile code which
errorneously trying to install BEAM binaries and other files as OS
executables.

Workaround:

Using INSTALL_DATA instead of INSTALL_PROGRAM in the Makefiles solves
this issue.

Apply the following patches:

--- lib/wx/examples/xrc/Makefile.FCS 2009-04-07 23:37:42.000000000 +0900
+++ lib/wx/examples/xrc/Makefile 2009-04-12 15:44:38.000000000 +0900
@@ -60,11 +60,11 @@
 docs:
 
 release_spec:
  $(INSTALL_DIR) $(EXRELSYSDIR)
  $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
- $(INSTALL_PROGRAM) $(TESTTARGETS) $(EXRELSYSDIR)
+ $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
  $(INSTALL_DIR) $(EXRELSYSDIR)/rc
  $(INSTALL_DATA) $(TESTRESOURCE) $(EXRELSYSDIR)/rc
 
 release_tests_spec:
 





In the message <20090412053333.GA51822@...>
dated Sun, Apr 12, 2009 at 02:33:09PM +0900,
Kenji Rikitake <kenji.rikitake@...> writes:

> Date: Sun, 12 Apr 2009 14:33:33 +0900
> From: Kenji Rikitake <kenji.rikitake@...>
> Subject: R13A patch for lib/wx/examples
> To: olgeni@...
> Cc: Kenji Rikitake <kenji.rikitake@...>, erlang-bugs@...,
> erlang-patches@...
>
> This is a patch for compiling Erlang R13A on FreeBSD 7.1-RELEASE.
> Note that I apply all Giacomo's patches for Erlang R12B5
> (available on FreeBSD port lang/erlang) BEFORE applying
> this patch.
>
> Kenji Rikitake
>
> R13A patch to solve lib/wx/examples installation errors
> on FreeBSD 7.1-RELEASE
> by Kenji Rikitake 12-APR-2009
>
> Symptom:
>
> R13A lib/wx/examples files causes installation error on FreeBSD
> 7.1-RELEASE.  This is caused by the Makefile code which errorneously
> trying to install BEAM binaries and other files as OS executables.
>
> Workaround:
>
> Using INSTALL_DATA instead of INSTALL_PROGRAM in the Makefiles solves
> this issue.
>
> Apply the following patches:
>
> --- ./lib/wx/examples/simple/Makefile.FCS 2009-03-13 00:04:24.000000000 +0900
> +++ ./lib/wx/examples/simple/Makefile 2009-04-12 14:10:58.000000000 +0900
> @@ -52,11 +52,11 @@
>  docs:
>  
>  release_spec:
>   $(INSTALL_DIR) $(EXRELSYSDIR)
>   $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
> - $(INSTALL_PROGRAM) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
> + $(INSTALL_DATA) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
>  
>  release_tests_spec:
>  
>  release_docs_spec:
>  
> --- ./lib/wx/examples/sudoku/Makefile.FCS 2009-03-12 23:44:22.000000000 +0900
> +++ ./lib/wx/examples/sudoku/Makefile 2009-04-12 14:11:32.000000000 +0900
> @@ -52,11 +52,11 @@
>  docs:
>  
>  release_spec:
>   $(INSTALL_DIR) $(EXRELSYSDIR)
>   $(INSTALL_DATA) $(TESTSRC) sudoku.hrl $(EXRELSYSDIR)
> - $(INSTALL_PROGRAM) $(TESTTARGETS) $(EXRELSYSDIR)
> + $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
>  
>  release_tests_spec:
>  
>  release_docs_spec:
>  
_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

Re: R13B snapshop 2009-04-11 patch for lib/wx/examples Re: R13A patch for lib/wx/examples

by Dan Gudmundsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, fixed.

/Dan

Kenji Rikitake wrote:

> Sources under lib/wx/examples are broken on FreeBSD due to the Makefile
> errors.  A patch follows.  // Kenji Rikitake
>
> R13B snapshot 2009-04-11 patch
> to solve lib/wx/examples installation errors
> on FreeBSD 7.1-RELEASE
> by Kenji Rikitake 12-APR-2009
>
> Symptom:
>
> R13B snapshot 2009-04-11 lib/wx/examples/xrc files causes installation
> error on FreeBSD 7.1-RELEASE.  This is caused by the Makefile code which
> errorneously trying to install BEAM binaries and other files as OS
> executables.
>
> Workaround:
>
> Using INSTALL_DATA instead of INSTALL_PROGRAM in the Makefiles solves
> this issue.
>
> Apply the following patches:
>
> --- lib/wx/examples/xrc/Makefile.FCS 2009-04-07 23:37:42.000000000 +0900
> +++ lib/wx/examples/xrc/Makefile 2009-04-12 15:44:38.000000000 +0900
> @@ -60,11 +60,11 @@
>  docs:
>  
>  release_spec:
>   $(INSTALL_DIR) $(EXRELSYSDIR)
>   $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
> - $(INSTALL_PROGRAM) $(TESTTARGETS) $(EXRELSYSDIR)
> + $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
>   $(INSTALL_DIR) $(EXRELSYSDIR)/rc
>   $(INSTALL_DATA) $(TESTRESOURCE) $(EXRELSYSDIR)/rc
>  
>  release_tests_spec:
>  
>
>
>
>
>
> In the message <20090412053333.GA51822@...>
> dated Sun, Apr 12, 2009 at 02:33:09PM +0900,
> Kenji Rikitake <kenji.rikitake@...> writes:
>> Date: Sun, 12 Apr 2009 14:33:33 +0900
>> From: Kenji Rikitake <kenji.rikitake@...>
>> Subject: R13A patch for lib/wx/examples
>> To: olgeni@...
>> Cc: Kenji Rikitake <kenji.rikitake@...>, erlang-bugs@...,
>> erlang-patches@...
>>
>> This is a patch for compiling Erlang R13A on FreeBSD 7.1-RELEASE.
>> Note that I apply all Giacomo's patches for Erlang R12B5
>> (available on FreeBSD port lang/erlang) BEFORE applying
>> this patch.
>>
>> Kenji Rikitake
>>
>> R13A patch to solve lib/wx/examples installation errors
>> on FreeBSD 7.1-RELEASE
>> by Kenji Rikitake 12-APR-2009
>>
>> Symptom:
>>
>> R13A lib/wx/examples files causes installation error on FreeBSD
>> 7.1-RELEASE.  This is caused by the Makefile code which errorneously
>> trying to install BEAM binaries and other files as OS executables.
>>
>> Workaround:
>>
>> Using INSTALL_DATA instead of INSTALL_PROGRAM in the Makefiles solves
>> this issue.
>>
>> Apply the following patches:
>>
>> --- ./lib/wx/examples/simple/Makefile.FCS 2009-03-13 00:04:24.000000000 +0900
>> +++ ./lib/wx/examples/simple/Makefile 2009-04-12 14:10:58.000000000 +0900
>> @@ -52,11 +52,11 @@
>>  docs:
>>  
>>  release_spec:
>>   $(INSTALL_DIR) $(EXRELSYSDIR)
>>   $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
>> - $(INSTALL_PROGRAM) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
>> + $(INSTALL_DATA) copy.xpm sample.xpm $(TESTTARGETS) $(EXRELSYSDIR)
>>  
>>  release_tests_spec:
>>  
>>  release_docs_spec:
>>  
>> --- ./lib/wx/examples/sudoku/Makefile.FCS 2009-03-12 23:44:22.000000000 +0900
>> +++ ./lib/wx/examples/sudoku/Makefile 2009-04-12 14:11:32.000000000 +0900
>> @@ -52,11 +52,11 @@
>>  docs:
>>  
>>  release_spec:
>>   $(INSTALL_DIR) $(EXRELSYSDIR)
>>   $(INSTALL_DATA) $(TESTSRC) sudoku.hrl $(EXRELSYSDIR)
>> - $(INSTALL_PROGRAM) $(TESTTARGETS) $(EXRELSYSDIR)
>> + $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
>>  
>>  release_tests_spec:
>>  
>>  release_docs_spec:
>>  
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@...
> http://www.erlang.org/mailman/listinfo/erlang-patches
>
_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

R13B *private* port for FreeBSD with necessary patches

by Kenji Rikitake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've compiled a *private* (= unofficial) R13B port for FreeBSD
with necessary patches (mostly from Giacomo Olgeni) and one from me
(about SCTP).

This port is now under testing on FreeBSD 7.1-RELEASE.
It is still preliminary so your feedback is welcome.
I hope Giacomo will release the official one soon.

The tar archive URL is at
http://www.ne.jp/asahi/bdx/info/software/erlang-port-R13B-20090427-0.tar.gz

Regards,
Kenji Rikitake
_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches