From eac4754f8442d5abadc7fb19641286a62672190a Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 21 Mar 2000 21:23:54 +0000 Subject: [PATCH] Crude check for broken links in fake install. --- infrastructure/mk/bsd.port.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 30abbd06f3f..b3beb94fc5c 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.232 2000/03/21 21:06:58 espie Exp $$ +FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.233 2000/03/21 21:23:54 espie Exp $$ # $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $ # $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $ # @@ -1453,6 +1453,10 @@ ${_FAKE_COOKIE}: ${_BUILD_COOKIE} . endfor . endif . endif + @if find ${WRKINST} -type l -ls|fgrep -- '-> ${WRKINST}'; then \ + echo >&2 "*** bad links in ${WRKINST}"; \ + exit 1; \ + fi @${_MAKE_COOKIE} ${_FAKE_COOKIE} ${_INSTALL_COOKIE}: ${_PACKAGE_COOKIE}