1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/py-django-mptt
Kubilay Kocak f49f666a0a www/py-django-mptt: Fix Django dependency causing conflicts
Tweak RUN_DEPENDS, switching to file-based django detection, instead of
by package name.

This ensures that if a port that depends on this one, also depends on a
different django version, it will see and use the installed version,
rather than attempting to install another one, which results in a
conflict as all django ports conflict with each other.

www/py-django-dpaste depends on py-django-mptt but is about to be
limited to Django <= 1.6 (it does not currently support higher).

Since py-django-mptt depends on www/py-django (currently 1.8.x), this
results in the conflict described above.

The same change will also be made in www/py-django-dpaste for any ports
that may depend on *it* in the future.

This change is a NOOP for other conditions.

See r390184 [1] for another instance of this issue.

[1] https://svnweb.freebsd.org/changeset/ports/390184

Approved by:	portmgr (blanket: trivial, tested, build fixes)
2015-06-25 07:09:06 +00:00
..
distinfo
Makefile www/py-django-mptt: Fix Django dependency causing conflicts 2015-06-25 07:09:06 +00:00
pkg-descr