diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-17 09:19:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-17 09:19:37 +0000 |
commit | 98b52d5edda96e838e56d0df8d43bcf43f1c1d54 (patch) | |
tree | 0abdfdf730a47e5add515051810e7b886e09b947 /mk/buildlink3 | |
parent | f67456cb83582dfd432146ebab30f75690d30564 (diff) | |
download | pkgsrc-98b52d5edda96e838e56d0df8d43bcf43f1c1d54.tar.gz |
Added a check for whether X11BASE is set correctly. Currently the error
message is
Syntax error: word unexpected (expecting ")")
which is not helpful at all.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 981a6bca074..83800371e98 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.188 2006/11/05 14:39:11 joerg Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.189 2006/11/17 09:19:37 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -570,6 +570,10 @@ ${_BLNK_COOKIE.${_pkg_}}: exit 1; \ ;; \ esac + ${RUN} [ ${X11BASE:Q}"" ] || { \ + ${ERROR_MSG} "[bsd.buildlink3.mk] X11BASE is not set correctly."; \ + exit 1; \ + } ${_PKG_SILENT}${_PKG_DEBUG} \ case ${BUILDLINK_PREFIX.${_pkg_}} in \ ${LOCALBASE}) buildlink_dir="${BUILDLINK_DIR}" ;; \ |