mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
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
This commit is contained in:
parent
7cbba24dba
commit
2e2a921591
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104577
@ -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 <bsd.port.post.mk>
|
||||
|
@ -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 <bsd.port.post.mk>
|
||||
|
@ -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 - . | \
|
||||
|
@ -115,6 +115,12 @@ post-patch:
|
||||
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
|
||||
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
|
||||
|
||||
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:
|
||||
${RM} -fr ${LOCAL_PREFIX}
|
||||
|
||||
|
@ -115,6 +115,12 @@ post-patch:
|
||||
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
|
||||
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
|
||||
|
||||
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:
|
||||
${RM} -fr ${LOCAL_PREFIX}
|
||||
|
||||
|
@ -115,6 +115,12 @@ post-patch:
|
||||
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
|
||||
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
|
||||
|
||||
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:
|
||||
${RM} -fr ${LOCAL_PREFIX}
|
||||
|
||||
|
@ -115,6 +115,12 @@ post-patch:
|
||||
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
|
||||
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
|
||||
|
||||
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:
|
||||
${RM} -fr ${LOCAL_PREFIX}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user