pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK30 Fix building on macOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7c5ff407526
branches:  trunk
changeset: 368264:d7c5ff407526
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 13 08:23:47 2017 +0000

description:
Fix building on macOS

diffstat:

 x11/wxGTK30/Makefile |  13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r 50af2aa10d6b -r d7c5ff407526 x11/wxGTK30/Makefile
--- a/x11/wxGTK30/Makefile      Wed Sep 13 08:08:40 2017 +0000
+++ b/x11/wxGTK30/Makefile      Wed Sep 13 08:23:47 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/09/11 20:22:53 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2017/09/13 08:23:47 adam Exp $
 
 DISTNAME=      wxWidgets-3.0.3
 PKGNAME=       ${DISTNAME:S/wxWidgets/wxGTK30/}
@@ -58,14 +58,11 @@
 PLIST_SRC+=             ${PLIST_SRC_DFLT}
 PLIST_VARS+=           notdarwin
 .if ${OPSYS} == "Darwin"
-# Without this, it will choose -macox-version-min=10.5 and
-# hard code constants in the header files to match.
-# Then any other packages that use it
-# will fail unless they also set -macosx-version-min=10.5
-CONFIGURE_ARGS+=       --with-macosx-version-min=no
-
+CONFIGURE_ARGS+=       --with-osx_cocoa
+CONFIGURE_ARGS+=       --without-macosx-sdk
+CONFIGURE_ARGS+=       --without-macosx-version-min
+CPPFLAGS+=             -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1
 PLIST_SRC+=            PLIST.cocoa
-CONFIGURE_ARGS+=       --with-osx_cocoa
 .else
 PLIST.notdarwin=       yes
 



Home | Main Index | Thread Index | Old Index