diff options
author | markd <markd@pkgsrc.org> | 2019-03-31 19:00:24 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2019-03-31 19:00:24 +0000 |
commit | 8345c84c15d7e47fa4ea37569bc1f5ccac43d98a (patch) | |
tree | cdefef7c1433d9bede2629169b6e6c7d448041fd /x11 | |
parent | c8858de3ae387e529b83eeff6d95e503a6418deb (diff) | |
download | pkgsrc-8345c84c15d7e47fa4ea37569bc1f5ccac43d98a.tar.gz |
qt5-qtbase: workaround to get package building correctly on redhat/centos
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5-qtbase/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/qt5-qtbase/Makefile b/x11/qt5-qtbase/Makefile index dec8473945f..26cf80d36d5 100644 --- a/x11/qt5-qtbase/Makefile +++ b/x11/qt5-qtbase/Makefile @@ -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 @@ CONFIGURE_ARGS+= -no-framework 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) |