pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Added a check for whether X11BASE is set...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a81a904b4935
branches: trunk
changeset: 521662:a81a904b4935
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 17 09:19:37 2006 +0000
description:
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:
mk/buildlink3/bsd.buildlink3.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r ccc89d14fdb0 -r a81a904b4935 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Fri Nov 17 08:12:14 2006 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Fri Nov 17 09:19:37 2006 +0000
@@ -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 @@
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}" ;; \
Home |
Main Index |
Thread Index |
Old Index