diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 0391ea99d30..f09d2b7147c 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.237 2000/03/26 21:23:20 espie Exp $$ +FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.238 2000/03/27 01:52:17 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 $ # @@ -2121,7 +2121,7 @@ clean-depends: # describe: .if !defined(NO_DESCRIBE) - @echo -n "${PKGNAME}|${.CURDIR}|"; \ + @echo -n "${PKGNAME}|${.CURDIR:S,^${PORTSDIR}/,,}|"; \ echo -n "${PREFIX}|"; \ if [ -f ${COMMENT} ]; then \ echo -n "`cat ${COMMENT}`|"; \ @@ -2129,7 +2129,7 @@ describe: echo -n "** No Description|"; \ fi; \ if [ -f ${DESCR} ]; then \ - echo -n "${DESCR}|"; \ + echo -n "${DESCR:S,^${PORTSDIR}/,,}|"; \ else \ echo -n "/dev/null|"; \ fi; \