diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-03-24 03:34:51 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-03-24 03:34:51 +0000 |
commit | 71da41bc32e9ae05969e3d16c88e3577c57aff5c (patch) | |
tree | 4490576637405cde799cf48ccde3ff4c34ac947a /Mk | |
parent | Make fxtv work with CURRENT and STABLE. This is not the optimum solution, (diff) |
Don't delete "Latest" link if NO_LATEST_LINK is set.
Notes
Notes:
svn path=/head/; revision=10301
Diffstat (limited to '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 89f91232426d..eefddd01c342 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) |