On Sep 16, 2005, at 3:29 PM, Philip Lamb wrote:
On 16/09/2005, at 6:49 AM, Alexander K. Hansen wrote:
Here's a couple things that came up:
1) Why Depends: macosx | x11 (I didn't notice the | before)?
Ah, I think I was trying to smart..
lib3ds can use OpenGL and GLUT from either the Mac OS X framework,
OR from x11.
But reading the packaging manual, there is no way to specify this
kind of optional dependency, other than making a separate variant
package.
So perhaps we need something like:
lib3ds, which depends on macosx, builddepends macosx, cctools, and
runs configure without extra flags.
lib3ds-x11 which depends on x11, glut, builddepends x11-dev, glut-
dev, cctools, and runs configure with environment variables set to
pick up the X11 directiories., e.g. CPPFLAGS=/usr/X11R6/include,
LDFLAGS=/usr/X11R6/lib
I see one problem with this approach.. there is no way I can see to
stop the configure script picking up the Mac OS X frameworks if
they are present. So if a user running Fink on Mac OS X installed
the -x11 variant, they would still get it linked against the
frameworks. If they were running on Darwin only (no Mac OS X) then
it would work OK.
Then again, this optioned approach may all be overkill. I am
tempted to just specify the dependency on macosx, and ignore the
fact that it can be built on a pure Darwin system.
What do you think?
I'll forward this on to -devel for consultation.
2) Does the package actually need GCC:4 ?
No, there is no C++ code. So I will remove this.
Phil.
OK. Sounds good.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel