[32635] trunk/dports/games/lincity-ng/Portfile

Anders F Björklund afb at macports.org
Thu Jan 10 02:07:04 PST 2008


Ryan Schmidt wrote:

> On Jan 10, 2008, at 01:11, pguyot at kallisys.net wrote:
>
>> @@ -27,6 +28,7 @@
>>  depends_lib			lib:libX11.6:XFree86 \
>>  					lib:libxml2:libxml2 \
>>  					bin:sdl-config:libsdl \
>> +					port:pkgconfig \
>>  					lib:libsdl_mixer:libsdl_mixer \
>>  					lib:libsdl_image:libsdl_image \
>>  					lib:libsdl_ttf:libsdl_ttf \
>
> pkgconfig does not provide any libraries. pkgconfig should be listed 
> as a build dependency, not a library dependency.

build dependencies are checked _after_ configure, so they're useless 
for pkg-config...

      depends_lib
          List of dependencies to check before configure, build, 
destroot,
          install, and package targets.

      depends_build
          List of dependencies to check before build, destroot, install, 
and
          package targets.

      depends_run
          List of dependencies to check before destroot, install and 
package
          targets.

So it's more about where you want the depend to be checked, than the 
"type" of it ?

--anders



More information about the macports-dev mailing list