php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35683 OVERALL_TARGET uses += not = in Makefile.frag
Submitted: 2005-12-15 15:32 UTC Modified: 2005-12-15 19:43 UTC
From: to2958 at sbc dot com Assigned:
Status: Not a bug Package: Informix related
PHP Version: 5CVS-2005-12-15 (snap) OS: AIX 4.3.3
Private report: No CVE-ID: None
 [2005-12-15 15:32 UTC] 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 \



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-15 19:43 UTC] sniper@php.net
Install GNU tools. gmake, etc.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC