diff options
author | grant <grant@pkgsrc.org> | 2002-12-10 13:08:34 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-12-10 13:08:34 +0000 |
commit | 99f7fad5d5a028d47eec76176c7e007e5d29408e (patch) | |
tree | 07be29f9baaef0bd38a32072aa626999cbdd245c /mk | |
parent | bac9083fb3df9763b173daca986c31c492577f4a (diff) | |
download | pkgsrc-99f7fad5d5a028d47eec76176c7e007e5d29408e.tar.gz |
use the form MESSAGE.${OPSYS}-${MACHINE_PLATFORM} for automatic
MESSAGE file handling.
pointed out by Masao Uebayashi.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 9c8defb7284..7b975032ccb 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1103 2002/12/07 16:03:12 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1104 2002/12/10 13:08:34 grant Exp $ # # This file is in the public domain. # @@ -566,8 +566,8 @@ MESSAGE_SRC= ${PKGDIR}/MESSAGE.common . if exists(${PKGDIR}/MESSAGE.${OPSYS}) MESSAGE_SRC+= ${PKGDIR}/MESSAGE.${OPSYS} . endif -. if exists(${PKGDIR}/MESSAGE.${OPSYS}.${MACHINE_ARCH:C/i[3-6]86/i386/g}) -MESSAGE_SRC+= ${PKGDIR}/MESSAGE.${OPSYS}.${MACHINE_ARCH:C/i[3-6]86/i386/g} +. if exists(${PKGDIR}/MESSAGE.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g}) +MESSAGE_SRC+= ${PKGDIR}/MESSAGE.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g} . endif . endif .endif @@ -1109,7 +1109,7 @@ __PLATFORM_OK?= yes . endif # MACHINE_PLATFORM . endfor # __tmp__ . if !defined(__PLATFORM_OK) -PKG_FAIL_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}" +PKG_SKIP_REASON+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}" . endif # !__PLATFORM_OK # |