[macports-ports] branch master updated: appstream-glib: Fix build failure by using correct CPPFLAGS

Jeremy Huddleston Sequoia jeremyhu at macports.org
Tue Nov 29 10:48:29 CET 2016


> On Nov 29, 2016, at 01:03, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
>> On Nov 29, 2016, at 2:37 AM, Jeremy Huddleston Sequoia <jeremyhu at macports.org> wrote:
>> 
>> Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
>> in repository macports-ports.
>> 
>> 
>> https://github.com/macports/macports-ports/commit/9cf09de33536f93f76d622ef8d6acf7d72dbcaac
>> 
>> The following commit(s) were added to refs/heads/master by this push:
>> 
>>   new 9cf09de  appstream-glib: Fix build failure by using correct CPPFLAGS
>> 
>> 9cf09de is described below
>> 
>> 
>> commit 9cf09de33536f93f76d622ef8d6acf7d72dbcaac
>> 
>> Author: Jeremy Huddleston Sequoia <jeremyhu at macports.org>
>> AuthorDate: Tue Nov 29 00:37:12 2016 -0800
>> 
>> 
>>  appstream-glib: Fix build failure by using correct CPPFLAGS
> 
>> @@ -47,7 +47,7 @@ configure.cmd       ./autogen.sh
>> # configure to use system libuuid
>> configure.env-append \
>> -                    UUID_CFLAGS=-I/usr/include/uuid \
>> +                    UUID_CFLAGS='-iwithsysroot /usr/include/uuid' \
> 
> What's -iwithsysroot? I've never heard of that one.

-iwithsysroot means "Use this directory, prefixed by -isysroot if one is specified" as a system header path

-isysroot ${SDKROOT} -iwithsysroot /usr/include/uuid

is equivalient to

-isysroot ${SDKROOT} -isystem ${SDKROOT}/usr/include/uuid

---

This is basically a build fix for folks that don't have a DevSDK (eg: installing Xcode without CommandLineTools).

--Jeremy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20161129/bf512d34/attachment.bin>


More information about the macports-dev mailing list