pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Mar 15 17:50:29 UTC 2020

Modified Files:
        pkgsrc/mk: mysql.buildlink3.mk

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

This happened in a bulk build with PKGSRC_RUN_TEST=yes.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/mk/mysql.buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/mysql.buildlink3.mk
diff -u pkgsrc/mk/mysql.buildlink3.mk:1.25 pkgsrc/mk/mysql.buildlink3.mk:1.26
--- pkgsrc/mk/mysql.buildlink3.mk:1.25  Fri Mar 13 10:05:41 2020
+++ pkgsrc/mk/mysql.buildlink3.mk       Sun Mar 15 17:50:28 2020
@@ -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 @@ PKG_FAIL_REASON+=   "${PKGBASE} requires m
 .  endif
 .endif
 
+.if defined(MYSQL_PKGSRCDIR)
 .include "${MYSQL_PKGSRCDIR}/buildlink3.mk"
+.endif
 
 .endif # MYSQL_VERSION_MK



Home | Main Index | Thread Index | Old Index