[erlang-bugs] [erlang-patches] R13B snapshop 2009-04-11 patch for lib/wx/examples Re: R13A patch for lib/wx/examples

Dan Gudmundsson dgud@REDACTED
Tue Apr 14 09:21:30 CEST 2009


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@REDACTED>
> dated Sun, Apr 12, 2009 at 02:33:09PM +0900,
> Kenji Rikitake <kenji.rikitake@REDACTED> writes:
>> Date: Sun, 12 Apr 2009 14:33:33 +0900
>> From: Kenji Rikitake <kenji.rikitake@REDACTED>
>> Subject: R13A patch for lib/wx/examples
>> To: olgeni@REDACTED
>> Cc: Kenji Rikitake <kenji.rikitake@REDACTED>, erlang-bugs@REDACTED,
>> 	erlang-patches@REDACTED
>>
>> 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@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-patches
> 



More information about the erlang-bugs mailing list