diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-19 03:14:55 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-19 03:14:55 +0000 |
commit | 2e2a921591f677d4921b4e1dd49fe2b5a0e3ded3 (patch) | |
tree | 8e6cbbf115e00b92e4cc6ebbbd83d8b0cc71180a /devel/nspr | |
parent | Add 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
Diffstat (limited to 'devel/nspr')
-rw-r--r-- | devel/nspr/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 55ef1ef864c2..76e9ea7ffbe4 100644 --- a/devel/nspr/Makefile +++ b/devel/nspr/Makefile @@ -28,6 +28,12 @@ MAKE_ENV= DIST=${WRKSRC}/dist LIBS= libnspr4.so.1 libplc4.so.1 libplds4.so.1 +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 + do-install: ${MKDIR} ${PREFIX}/include/nspr ${TAR} -C ${WRKSRC}/dist/include --dereference -cf - . | \ |