Created attachment 159228 [details] patch The upstream net/py-ldap seems to make assumptions about where libraries and includes belong. This patch replaces all occurrences of /usr/local with the chosen LOCALBASE. I'm not familiar with the build system for this port - there might be a better way to do what I've done here.
A commit references this bug: Author: rm Date: Mon Jul 27 06:23:28 UTC 2015 New revision: 392962 URL: https://svnweb.freebsd.org/changeset/ports/392962 Log: net/py-ldap: fix build with alternate LOCALBASE Not bumping PORTREVISION because default builds are not affected. PR: 201882 Submitted by: jhujhiti@adjectivism.org Changes: head/net/py-ldap/Makefile
Committed, thank you!