diff options
author | asami <asami@FreeBSD.org> | 1998-03-24 03:34:51 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-03-24 03:34:51 +0000 |
commit | ef4f7771c1355c50cbdd76e1446cc6a12d9c25f2 (patch) | |
tree | d330e717c2ae8761e32fb6bac926abe4bcb73d38 /Mk/bsd.port.mk | |
parent | b443b039a2b6b81e166dadec0bf83dc0963f6722 (diff) | |
download | FreeBSD-ports-ef4f7771c1355c50cbdd76e1446cc6a12d9c25f2.zip FreeBSD-ports-ef4f7771c1355c50cbdd76e1446cc6a12d9c25f2.tar.gz |
Don't delete "Latest" link if NO_LATEST_LINK is set.
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 89f9123..eefddd0 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $Id: bsd.port.mk,v 1.271 1998/02/19 06:49:27 asami Exp $ +# $Id: bsd.port.mk,v 1.272 1998/03/07 04:40:19 asami Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -1147,7 +1147,10 @@ package-links: .if !target(delete-package-links) delete-package-links: - @${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE} + @${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX} +.if !defined(NO_LATEST_LINK) + @${RM} -f ${PKGLATESTFILE} +.endif .endif .if !target(delete-package) |