Re: [32635] trunk/dports/games/lincity-ng/Portfile
On Jan 10, 2008, at 01:11, pguyot@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.
Ryan Schmidt wrote:
On Jan 10, 2008, at 01:11, pguyot@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
On Jan 10, 2008, at 04:07, Anders F Björklund wrote:
Ryan Schmidt wrote:
On Jan 10, 2008, at 01:11, pguyot@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 ?
Is that really how it is? If so, that's really nonintuitive. Is that really how we want base to behave?
Ryan Schmidt wrote:
On Jan 10, 2008, at 04:07, Anders F Björklund wrote: [depends_lib, depends_build, depends_run explanation]
So it's more about where you want the depend to be checked, than the "type" of it ?
Is that really how it is? If so, that's really nonintuitive. Is that really how we want base to behave?
Uh. I didn't even know they were checked at different phases! I thought depends_build is everything you need to build, but is not needed afterwards. So this should be checked before configure, build and destroot. I am also wondering why all dependencies are checked before the install phase. The Makefile or other build scripts of the software is only used up to destrooting. The install phase is all done by MacPorts, so there is no check needed anymore at this phase. Rainer
Le 10 janv. 08 à 12:21, Ryan Schmidt a écrit :
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 ?
Is that really how it is? If so, that's really nonintuitive. Is that really how we want base to behave?
It's really how it is. And indeed, it's really nonintuitive. Paul -- http://paul-guyot.com/
participants (4)
-
Anders F Björklund
-
Paul Guyot
-
Rainer Müller
-
Ryan Schmidt