#35683 [Opn->Bgs]: OVERALL_TARGET uses += not = in Makefile.frag
| From: | sniper@php.net | Date: | Thu, 15 Dec 2005 18:43:36 +0000 |
| Subject: | #35683 [Opn->Bgs]: OVERALL_TARGET uses += not = in Makefile.frag | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90481@lists.php.net to get a copy of this message | ||
ID: 35683
Updated by: sniper@php.net
Reported By: to2958 at sbc dot com
-Status: Open
+Status: Bogus
Bug Type: Informix related
Operating System: AIX 4.3.3
PHP Version: 5CVS-2005-12-15 (snap)
New Comment:
Install GNU tools. gmake, etc.
Previous Comments:
------------------------------------------------------------------------
[2005-12-15 15:32:50] to2958 at sbc dot com
Description:
------------
There is a += in the ext/informix/Makefile.frag for the OVERALL_TARGET
which I don't think is right. I've never seen this used in Makefiles
though I'm not an expert. This prevents make from working and gives me
this:
make: make 1254-025 There must be an existing description file or
specify a target.
When I do the patch below and simply replace the += with = the make
runs fine.
I didn't really see related bugs nor the use of += in other projects
Thanks
Reproduce code:
---------------
--- Makefile.frag.orig Thu Dec 15 08:23:46 2005
+++ Makefile.frag Thu Dec 15 08:24:01 2005
@@ -1,5 +1,5 @@
-OVERALL_TARGET += $(srcdir)/ifx.c
+OVERALL_TARGET = $(srcdir)/ifx.c
$(srcdir)/ifx.c: $(srcdir)/ifx.ec
(if test -d $(INFORMIXDIR); then \
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35683&edit=1