pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs Fix building on newer macOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b37894012e79
branches:  trunk
changeset: 368898:b37894012e79
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 20 19:19:58 2017 +0000

description:
Fix building on newer macOS

diffstat:

 x11/qt4-libs/Makefile.common |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1bc3eacc6c93 -r b37894012e79 x11/qt4-libs/Makefile.common
--- a/x11/qt4-libs/Makefile.common      Wed Sep 20 17:44:20 2017 +0000
+++ b/x11/qt4-libs/Makefile.common      Wed Sep 20 19:19:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2017/05/24 14:29:50 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.46 2017/09/20 19:19:58 adam Exp $
 # used by x11/qt4-docs/Makefile
 # used by x11/qt4-libs/Makefile
 # used by x11/qt4-mng/Makefile
@@ -51,6 +51,7 @@
 MAKE_ENV+=             QTDIR=${WRKSRC}
 PLIST_VARS+=           mac unix
 .if ${OPSYS} == "Darwin"
+CFLAGS+=               -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1
 PLIST.mac=             yes
 QMAKE_CONF=            qmake.conf.mac
 QMAKE_RANLIB=          ${RANLIB}



Home | Main Index | Thread Index | Old Index