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/2581f424ccdc
branches:  trunk
changeset: 413108:2581f424ccdc
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 4e351cab7e0c -r 2581f424ccdc 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