aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-16 13:55:14 +0800
committerbapt <bapt@FreeBSD.org>2014-07-16 13:55:14 +0800
commitf96de7fa9852c995ad4808c989caaf54dd0c7c44 (patch)
tree5c210fef822a8e525dac3ebc87f53e9299b35dc7 /Mk
parent3c4a771cbeb309d8165d59395605c1ea13920907 (diff)
downloadfreebsd-ports-gnome-f96de7fa9852c995ad4808c989caaf54dd0c7c44.tar.gz
freebsd-ports-gnome-f96de7fa9852c995ad4808c989caaf54dd0c7c44.tar.zst
freebsd-ports-gnome-f96de7fa9852c995ad4808c989caaf54dd0c7c44.zip
Now that all LIB_DEPENDS has been switched to modern version, remove support
for ancient version. Phabric: D415 Reviewed by: swills
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk39
-rw-r--r--Mk/bsd.sanity.mk2
2 files changed, 2 insertions, 39 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index da629c982ef4..ded97d9d4fe3 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4928,7 +4928,7 @@ ${deptype:tl}-depends:
lib-depends:
.if defined(LIB_DEPENDS) && !defined(NO_DEPENDS)
@set -e ; \
- for i in ${LIB_DEPENDS:M*.so*\:*}; do \
+ for i in ${LIB_DEPENDS}; do \
lib=$${i%%:*} ; \
dir=$${i#*:} ; \
target="${DEPENDS_TARGET}"; \
@@ -4957,43 +4957,6 @@ lib-depends:
${ECHO_MSG}; \
fi ; \
done
- @set -e ; for i in ${LIB_DEPENDS:N*.so*\:*}; do \
- lib=$${i%%:*}; \
- pattern="`${ECHO_CMD} $$lib | ${SED} -E -e 's/\./\\\\./g' -e 's/(\\\\)?\+/\\\\+/g'`"\
- dir=$${i#*:}; \
- target=$${i##*:}; \
- if ${TEST} $$dir = $$target; then \
- target="${DEPENDS_TARGET}"; \
- depends_args="${DEPENDS_ARGS}"; \
- else \
- dir=$${dir%%:*}; \
- fi; \
- ${ECHO_MSG} -n "===> ${PKGNAME} depends on shared library: $$lib"; \
- if ${LDCONFIG} ${_LDCONFIG_FLAGS} -r | ${GREP} -vwF -e "${PKGCOMPATDIR}" | ${GREP} -qwE -e "-l$$pattern"; then \
- ${ECHO_MSG} " - found"; \
- if [ ${_DEPEND_ALWAYS} = 1 ]; then \
- ${ECHO_MSG} " (but building it anyway)"; \
- notfound=1; \
- else \
- notfound=0; \
- fi; \
- else \
- ${ECHO_MSG} " - not found"; \
- notfound=1; \
- fi; \
- if [ $$notfound != 0 ]; then \
- ${ECHO_MSG} "===> Verifying $$target for $$lib in $$dir"; \
- if [ ! -d "$$dir" ]; then \
- ${ECHO_MSG} " => No directory for $$lib. Skipping.."; \
- else \
- ${_INSTALL_DEPENDS} \
- if ! ${LDCONFIG} ${_LDCONFIG_FLAGS} -r | ${GREP} -vwF -e "${PKGCOMPATDIR}" | ${GREP} -qwE -e "-l$$pattern"; then \
- ${ECHO_MSG} "Error: shared library \"$$lib\" does not exist"; \
- ${FALSE}; \
- fi; \
- fi; \
- fi; \
- done
.endif
.endif
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 860d0ccf1abc..b56a1706f4e4 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -56,7 +56,7 @@ DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop
.endif
.if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*}
-DEV_WARNING+= "Please use the new format for LIB_DEPENDS, see handbook for details"
+DEV_ERROR+= "Please use the new format for LIB_DEPENDS, see handbook for details"
.endif
.if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \