From e7ccfa6b405157e248cab4369c15b2c98b34b42e Mon Sep 17 00:00:00 2001 From: fhajny Date: Fri, 9 Mar 2012 11:55:11 +0000 Subject: Make sure GNU diff is available. Fixes PR pkg/44828. --- databases/mysql51-client/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'databases') diff --git a/databases/mysql51-client/Makefile.common b/databases/mysql51-client/Makefile.common index b2811637494..cca12da9abd 100644 --- a/databases/mysql51-client/Makefile.common +++ b/databases/mysql51-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.22 2012/01/12 17:41:21 adam Exp $ +# $NetBSD: Makefile.common,v 1.23 2012/03/09 11:55:11 fhajny Exp $ # # used by databases/mysql51-client/Makefile # used by databases/mysql51-server/Makefile @@ -111,6 +111,12 @@ USE_LANGUAGES= c c++ USE_TOOLS+= autoconf bash autoheader gmake perl:run LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql +# reset the platform diff on SunOS unless it's a GNU diff +# which is required by the MySQL build +.if ${OPSYS} == "SunOS" && empty(TOOLS_PLATFORM.diff:Mgdiff) +TOOLS_PLATFORM.diff= # empty +.endif + SUBST_CLASSES= mk SUBST_STAGE.mk= pre-configure SUBST_FILES.mk= dbug/Makefile.in heap/Makefile.in \ -- cgit v1.2.3