To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116355
                 Issue #|116355
                 Summary|Wrong check for empty SYSBASE in solenv/gbuild/platfor
                        |m/macosx.mk
               Component|tools
                 Version|DEV300m96
                Platform|All
                     URL|
              OS/Version|Mac OS X, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|GNU make
             Assigned to|b_michaelsen
             Reported by|cloph





------- Additional comments from cl...@openoffice.org Sat Jan  8 00:02:41 +0000 
2011 -------
solenv/gbuild/platform/macosx.mk checks for empty SYSBASE with

ifeq($(SYSBASE), "")

this is wrong, and results in the statement always evaluating to false, 
resulting in a -isysroot /MacOSX10.4u.sdk to be used, and the build fails 
horribly because no standard-headers can be found.

correct is:

ifeq ($(SYSBASE),)
gb_SDKDIR := /Developer/SDKs/MacOSX10.4u.sdk
else
gb_SDKDIR := $(SYSBASE)/MacOSX10.4u.sdk
endif

(see http://www.gnu.org/software/autoconf/manual/make/Conditional-Syntax.html - 
where at the explanation for ifdef it reads: "To test for an empty value, use 
ifeq ($(foo),).")

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to