pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/qt5-qtbase
Module Name: pkgsrc
Committed By: tnn
Date: Wed Jul 21 15:31:29 UTC 2021
Modified Files:
pkgsrc/x11/qt5-qtbase: Makefile
Log Message:
qt5-qtbase: fix build on Darwin. No need for -lexecinfo.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/x11/qt5-qtbase/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/qt5-qtbase/Makefile
diff -u pkgsrc/x11/qt5-qtbase/Makefile:1.111 pkgsrc/x11/qt5-qtbase/Makefile:1.112
--- pkgsrc/x11/qt5-qtbase/Makefile:1.111 Tue Jul 6 19:50:09 2021
+++ pkgsrc/x11/qt5-qtbase/Makefile Wed Jul 21 15:31:28 2021
@@ -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 @@ CONFIGURE_ARGS+= -no-framework
# 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