From 19046464e6aa97d38de4338eefb5cc975ad79618 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 19 Mar 2004 03:14:55 +0000 Subject: 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 --- devel/gnome-vfs/Makefile | 6 ++++++ devel/gnomevfs2/Makefile | 6 ++++++ devel/nspr/Makefile | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'devel') diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile index cab5c551175..8d0347ede42 100644 --- a/devel/gnome-vfs/Makefile +++ b/devel/gnome-vfs/Makefile @@ -59,4 +59,10 @@ post-patch: @${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \ ${WRKSRC}/Makefile.in +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 + .include diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile index cab5c551175..8d0347ede42 100644 --- a/devel/gnomevfs2/Makefile +++ b/devel/gnomevfs2/Makefile @@ -59,4 +59,10 @@ post-patch: @${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \ ${WRKSRC}/Makefile.in +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 + .include diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 55ef1ef864c..76e9ea7ffbe 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 - . | \ -- cgit