diff options
author | rillig <rillig> | 2006-11-17 09:19:37 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-11-17 09:19:37 +0000 |
commit | 7329fdd2a87a327b5d4ecf5bf14752c5c671cd45 (patch) | |
tree | 0abdfdf730a47e5add515051810e7b886e09b947 /mk/buildlink3/bsd.buildlink3.mk | |
parent | 5f0ba7decfd2dc8166aa9e29cf421246bef33b0d (diff) | |
download | pkgsrc-7329fdd2a87a327b5d4ecf5bf14752c5c671cd45.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/bsd.buildlink3.mk')
-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}" ;; \ |