pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk mk/mysql.buildlink3.mk: fix fatal error when no MyS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6144c98dad2b
branches:  trunk
changeset: 424849:6144c98dad2b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 15 17:50:28 2020 +0000

description:
mk/mysql.buildlink3.mk: fix fatal error when no MySQL version is found

This happened in a bulk build with PKGSRC_RUN_TEST=yes.

diffstat:

 mk/mysql.buildlink3.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5bce03fe531e -r 6144c98dad2b mk/mysql.buildlink3.mk
--- a/mk/mysql.buildlink3.mk    Sun Mar 15 17:34:44 2020 +0000
+++ b/mk/mysql.buildlink3.mk    Sun Mar 15 17:50:28 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mysql.buildlink3.mk,v 1.25 2020/03/13 10:05:41 nia Exp $
+# $NetBSD: mysql.buildlink3.mk,v 1.26 2020/03/15 17:50:28 rillig Exp $
 #
 # This file is included by packages that require some version of the
 # MySQL database client.
@@ -135,6 +135,8 @@
 .  endif
 .endif
 
+.if defined(MYSQL_PKGSRCDIR)
 .include "${MYSQL_PKGSRCDIR}/buildlink3.mk"
+.endif
 
 .endif # MYSQL_VERSION_MK



Home | Main Index | Thread Index | Old Index