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: workaround to get package b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e31a551846e5
branches:  trunk
changeset: 393976:e31a551846e5
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Mar 31 19:00:24 2019 +0000

description:
qt5-qtbase: workaround to get package building correctly on redhat/centos

diffstat:

 x11/qt5-qtbase/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 92bad25b501d -r e31a551846e5 x11/qt5-qtbase/Makefile
--- a/x11/qt5-qtbase/Makefile   Sun Mar 31 15:20:51 2019 +0000
+++ b/x11/qt5-qtbase/Makefile   Sun Mar 31 19:00:24 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2019/03/27 10:16:34 markd Exp $
+# $NetBSD: Makefile,v 1.72 2019/03/31 19:00:24 markd Exp $
 
 DISTNAME=      qtbase-everywhere-src-${QTVERSION}
 PKGNAME=       qt5-qtbase-${QTVERSION}
@@ -95,6 +95,12 @@
 LDFLAGS+=              -lresolv
 .  endif
 .elif ${OPSYS} == "Linux"
+ FIXME: Try to move fix upstream
+# See $$lcan in mkspecs/features/qt_configure.prf
+# Also QMAKE_DEFAULT_LIBDIRS in mkspecs/features/toolchain.prf
+.  if ${LOWER_VENDOR} == "redhat" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=       -L "/usr/lib64"
+.  endif
 LDFLAGS+=              -ldl
 .elif ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
 .  if exists(/usr/lib/libexecinfo.so)



Home | Main Index | Thread Index | Old Index