Python and gramps...
Chuck Swiger
cswiger at mac.com
Mon Feb 26 02:30:57 UTC 2007
Anders Troback wrote:
[ ... ]
> I can check the version like this (I think):
>
> . if !defined(WITH_BDB_VER)
> WITH_BDB_VER= 42
> . endif
> . if (${WITH_BDB_VER} < 42)
> BROKEN= Does not run with less than db42
> . endif
>
> But how do I know if the dependency ports are compiled with the right
> version? Is this the right way of doing this or is there a better way?
Take a look at the Makefiles for textproc/redland or mail/exim for a simple or
more complex pair of examples. For all of them, consider:
find /usr/ports -name Makefile -print0 | xargs -0 grep -l WITH_BDB_VER
You might find looking at /usr/ports/Mk/bsd.database.mk to answer a lot of
questions one might have, too.
--
-Chuck
More information about the freebsd-ports
mailing list