diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-09-09 05:04:55 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-09-09 05:04:55 +0000 |
commit | 7b88fe8c9c63ea34118d4e7e942cc22a56d6e235 (patch) | |
tree | 6511732a0cae08692e5f2b8769c07865fbb85520 /misc/utf8locale | |
parent | Fix things after the recent GNOMENG commit. (diff) |
Hide error message from grep when DESTDIR is set to a bogus value.
Submitted by: kris
Notes
Notes:
svn path=/head/; revision=65893
Diffstat (limited to 'misc/utf8locale')
-rw-r--r-- | misc/utf8locale/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/utf8locale/Makefile b/misc/utf8locale/Makefile index 927d07e968c0..3fac1d08bb93 100644 --- a/misc/utf8locale/Makefile +++ b/misc/utf8locale/Makefile @@ -19,7 +19,10 @@ BASELOCALEDIR= ${DESTDIR}/usr/share/locale PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \ LANGS="${LANGS}" -_HAVE_SWIDTH!= grep _CTYPE_SW ${DESTDIR}/usr/include/ctype.h || true +.include <bsd.port.pre.mk> + +_HAVE_SWIDTH!= ${GREP} _CTYPE_SW ${DESTDIR}/usr/include/ctype.h 2>/dev/null \ + || ${TRUE} .if empty(_HAVE_SWIDTH) PKGNAMESUFFIX= -without-swidth .endif @@ -30,4 +33,4 @@ post-install: ${BASELOCALEDIR}/${lang}.UTF-8 .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |