summaryrefslogtreecommitdiff
path: root/databases/mysql51-client
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-09 11:55:11 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-09 11:55:11 +0000
commite7ccfa6b405157e248cab4369c15b2c98b34b42e (patch)
treec45ae15f5a691604f391e8056f28d023f636588e /databases/mysql51-client
parente44795cde0a82b82cc910a7bb4997d7f373857e8 (diff)
downloadpkgsrc-e7ccfa6b405157e248cab4369c15b2c98b34b42e.tar.gz
Make sure GNU diff is available.
Fixes PR pkg/44828.
Diffstat (limited to 'databases/mysql51-client')
-rw-r--r--databases/mysql51-client/Makefile.common8
1 files changed, 7 insertions, 1 deletions
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 \