diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-19 11:14:55 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-19 11:14:55 +0800 |
commit | 19046464e6aa97d38de4338eefb5cc975ad79618 (patch) | |
tree | a71c95a2df9a12ad6d2bda144fa6c68ba562d66d /www/mozilla | |
parent | c383b1d678d3e9b179db88d45af55df35221293e (diff) | |
download | freebsd-ports-gnome-19046464e6aa97d38de4338eefb5cc975ad79618.tar.gz freebsd-ports-gnome-19046464e6aa97d38de4338eefb5cc975ad79618.tar.zst freebsd-ports-gnome-19046464e6aa97d38de4338eefb5cc975ad79618.zip |
Borrow from the OpenLDAP ports, and refuse to build if bind has been
installed with PORT_REPLACES_BASE_BIND defined.
PR: 61756
Obtained from: OpenLDAP ports
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 703e78463c4e..0a330a0387b3 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -229,6 +229,12 @@ post-patch: ${WRKSRC}/build/unix/$${pcfile}.pc.in; \ done +pre-configure: + @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \ + ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ + ${FALSE}; \ + fi + post-build: ${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%MOZILLA%%|${MOZILLA}|g" \ ${FILESDIR}/mozilla.sh >${WRKSRC}/${MOZILLA} |