pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/editline I've we detected an Mac OS X SDK locati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3c7dc827fa2
branches:  trunk
changeset: 648763:e3c7dc827fa2
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Mar 18 19:17:39 2015 +0000

description:
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").

diffstat:

 devel/editline/builtin.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r bbbce274bb44 -r e3c7dc827fa2 devel/editline/builtin.mk
--- a/devel/editline/builtin.mk Wed Mar 18 17:46:31 2015 +0000
+++ b/devel/editline/builtin.mk Wed Mar 18 19:17:39 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index