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/seamonkey/Makefile | |
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/seamonkey/Makefile')
-rw-r--r-- | www/seamonkey/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index d5555c8120cb..c309c93d1015 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -239,6 +239,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} |