diff options
author | tron <tron@pkgsrc.org> | 2006-06-07 10:04:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-06-07 10:04:03 +0000 |
commit | 6e1ed39e5d655cbe6a2259860f9ae1f243ee7a5b (patch) | |
tree | f3b6807e10b49c342f9dd12063bfdee161d1f3b1 /mk/package/package.mk | |
parent | 2aecc23eb2129bf706da86d455d685f0778b6473 (diff) | |
download | pkgsrc-6e1ed39e5d655cbe6a2259860f9ae1f243ee7a5b.tar.gz |
1.) Remove all instances of '@${WARNING_MSG} "Warning: ...' which resulted
in error message like 'WARNING: Warning: ...'.
2.) Replace "WARN_MSG" with "WARNING_MSG" which makes the "make package"
target work again for restricted packages like "acroread7".
Diffstat (limited to 'mk/package/package.mk')
-rw-r--r-- | mk/package/package.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mk/package/package.mk b/mk/package/package.mk index 9d72558fb67..1b2feb3d804 100644 --- a/mk/package/package.mk +++ b/mk/package/package.mk @@ -1,4 +1,4 @@ -# $NetBSD: package.mk,v 1.3 2006/06/05 22:49:44 jlam Exp $ +# $NetBSD: package.mk,v 1.4 2006/06/07 10:04:04 tron Exp $ _PACKAGE_COOKIE= ${WRKDIR}/.package_done @@ -97,15 +97,15 @@ package-create: .PHONY: package-warnings package-warnings: .if defined(NO_BIN_ON_CDROM) - @${WARNING_MSG} "Warning: ${PKGNAME} may not be put on a CD-ROM:" - @${wARN_MSG} " " ${NO_BIN_ON_CDROM:Q} + @${WARNING_MSG} "${PKGNAME} may not be put on a CD-ROM:" + @${WARNING_MSG} ${NO_BIN_ON_CDROM:Q} .endif .if defined(NO_BIN_ON_FTP) - @${WARNING_MSG} "Warning: ${PKGNAME} may not be made available through FTP:" - @${WARNING_MSG} " " ${NO_BIN_ON_FTP:Q} + @${WARNING_MSG} "${PKGNAME} may not be made available through FTP:" + @${WARNING_MSG} ${NO_BIN_ON_FTP:Q} .endif .if defined(ABI_DEPENDS) && !empty(USE_ABI_DEPENDS:M[Nn][Oo]) - @${WARNING_MSG} "Warning: ABI dependency recommendations are being ignored!" - @${WARNING_MSG} " ${PKGNAME} should not be uploaded nor" - @${WARNING_MSG} " otherwise be used as a binary package!" + @${WARNING_MSG} "ABI dependency recommendations are being ignored!" + @${WARNING_MSG} "${PKGNAME} should not be uploaded nor" + @${WARNING_MSG} "otherwise be used as a binary package!" .endif |