".if defined" within dependencies
Holger Lamm
holger at e-gitt.net
Mon Jun 30 14:27:36 PDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with writing a proper Makefile for my port.
First the question:
How can I trigger ".if defined" - declarations in my dependencies?
Now the problem:
My port is net/mldonkey, and it can be compiled X11-less by defining
"WITHOUT_GUI". (This will compile the client, but not the GUI, so
the name of the trigger is meaningful.)
Problem is: It depends on lang/ocaml, as it is written in ocaml.
ocaml builds X11, as long as WITHOUT_X11 is not defined.
When I say "WITHOUT_X11=yes" in the Makefile, it is too late as
all ".if defined" are long parsed.
So, how can I depend on ocaml with WITHOUT_X11 set?
Thank you very much,
Holger
- --
"Computer games don't affect kids. If Pacman would have affected us as
children, we would now run around in darkened rooms, munching pills and
listening to repetetive music."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE/AKtFgdO/JOxNDBQRAprRAJ9MP5m+8GfrEEU7u/0lomo+wbDLCQCfeHfB
nfy5mpk8iF65L4yzZnLg2z0=
=k7tD
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list