Wed Mar 18 19:17:39 2015 UTC ()
I've we detected an Mac OS X SDK location use it as the prefix of the
builtin "editline" package.

This fixes the build of the "mysql56-client" package (and possibly others)
under Mac OS X Yosemite with a clean install of Xcode (in particular
with no files in "/Developer").


(tron)
diff -r1.6 -r1.7 pkgsrc/devel/editline/builtin.mk

cvs diff -r1.6 -r1.7 pkgsrc/devel/editline/builtin.mk (expand / switch to context diff)
--- pkgsrc/devel/editline/builtin.mk 2014/06/09 00:26:19 1.6
+++ pkgsrc/devel/editline/builtin.mk 2015/03/18 19:17:39 1.7
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.6 2014/06/09 00:26:19 obache Exp $
+# $NetBSD: builtin.mk,v 1.7 2015/03/18 19:17:39 tron Exp $
 
 BUILTIN_PKG:=	editline
 
@@ -48,6 +48,9 @@
 .  endif
 
 .  if !empty(USE_BUILTIN.editline:M[yY][eE][sS])
+.    if defined(OSX_SDK_PATH) && exists(${OSX_SDK_PATH}/usr/include/readline)
+BUILDLINK_PREFIX.editline=	${OSX_SDK_PATH}/usr
+.    endif
 .    if !empty(H_EDITLINE:M*/editline/readline.h)
 BUILDLINK_TARGETS+=	buildlink-readline-readline-h
 BUILDLINK_TARGETS+=	buildlink-readline-history-h