pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt5-qtbase qt5-qtbase: fix build on Darwin. No nee...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad791bdb7485
branches: trunk
changeset: 456201:ad791bdb7485
user: tnn <tnn%pkgsrc.org@localhost>
date: Wed Jul 21 15:31:28 2021 +0000
description:
qt5-qtbase: fix build on Darwin. No need for -lexecinfo.
diffstat:
x11/qt5-qtbase/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 33a599e13052 -r ad791bdb7485 x11/qt5-qtbase/Makefile
--- a/x11/qt5-qtbase/Makefile Wed Jul 21 15:07:57 2021 +0000
+++ b/x11/qt5-qtbase/Makefile Wed Jul 21 15:31:28 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2021/07/06 19:50:09 rhialto Exp $
+# $NetBSD: Makefile,v 1.112 2021/07/21 15:31:28 tnn Exp $
DISTNAME= qtbase-everywhere-src-${QTVERSION}
PKGNAME= qt5-qtbase-${QTVERSION}
@@ -97,11 +97,15 @@
# so give it a direct path to them if they aren't installed
# in /usr/include
. if !exists(/usr/include)
-CONFIGURE_ARGS+= -I "$$(xcrun --show-sdk-path)"/usr/include
+CONFIGURE_ARGS+= -I ${OSX_SDK_PATH}/usr/include
. endif
. if exists(/usr/lib/libresolv.dylib)
LDFLAGS+= -lresolv
. endif
+# -lexecinfo is bundled in libc
+. if exists(${OSX_SDK_PATH}/usr/include/execinfo.h)
+BUILDLINK_TRANSFORM+= rm:-lexecinfo
+. endif
.elif ${OPSYS} == "Linux"
LDFLAGS+= -ldl
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
Home |
Main Index |
Thread Index |
Old Index