summaryrefslogtreecommitdiff
path: root/www/flock
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-03-19 03:14:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-03-19 03:14:55 +0000
commit2e2a921591f677d4921b4e1dd49fe2b5a0e3ded3 (patch)
tree8e6cbbf115e00b92e4cc6ebbbd83d8b0cc71180a /www/flock
parentAdd moftpd 1.1.6. (diff)
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
Notes
Notes: svn path=/head/; revision=104577
Diffstat (limited to 'www/flock')
-rw-r--r--www/flock/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile
index db5580874bf2..d78db4f2adf0 100644
--- a/www/flock/Makefile
+++ b/www/flock/Makefile
@@ -126,6 +126,12 @@ post-patch:
< ${WRKSRC}/${ii}/all.js.bak > ${WRKSRC}/${ii}/all.js
.endfor
+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
+
pre-install:
# Overview: the program installs itself in FAKEDIR, then a list is made of the
# files and directories in there. This is the PLIST (packing list) for the