Joshua Root jmr at
Wed Oct 12 17:28:11 UTC 2022

On 2022-10-13 03:58 , Lukas Oberhuber wrote:
> Here is the Portfile: 
> <>
> Here is a gist of the logs: 
> <>
> Hopefully you have some ideas! Thanks.

Well here's your problem:
> :debug:configure Executing org.macports.configure (gimp210)
> :debug:configure Environment: 
> :debug:configure CC_PRINT_OPTIONS='YES'
> :debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_lukasoberhuber_project_ports_graphics_gimp2/gimp210/work/.CC_PRINT_OPTIONS'
> :debug:configure CPATH='/opt/local/include'
> :debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
> :debug:configure LIBRARY_PATH='/opt/local/lib'
> :debug:configure MACOSX_DEPLOYMENT_TARGET='11.0'
> :debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk'

There should be around 15 more environment variables set. Not just 
PKG_CONFIG_PATH and PYTHON but ones set by base like CC, CFLAGS and so on.

I think this is because the configure script is being run as part of the 
autoreconf command, not configure proper.

BTW, these two lines both do exactly the same thing, so you can just 
remove the second one:

And you don't need to specify ${prefix}/lib/pkgconfig in there because 
that's already in the default search paths.

- Josh

More information about the macports-users mailing list