pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtbase x11/qt5-qtbase: add QMAKE_STRIP to pkgs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efe052e20b40
branches:  trunk
changeset: 455599:efe052e20b40
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Tue Jul 06 19:50:09 2021 +0000

description:
x11/qt5-qtbase: add QMAKE_STRIP to pkgsrc qmake.conf.

In upstream qmake, QMAKE_STRIP is defined in places such as
common/bsd/bsd.conf and common/linux.conf. The pkgsrc version of
qmake.conf includes none of those. So add it there.
For the special mac version, just include bsd/bsd.conf.

The missing name was discovered while updating x11/XaoS.

diffstat:

 x11/qt5-qtbase/Makefile             |  4 ++--
 x11/qt5-qtbase/files/qmake.conf     |  3 +++
 x11/qt5-qtbase/files/qmake.conf.mac |  2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r fe9cc018a2eb -r efe052e20b40 x11/qt5-qtbase/Makefile
--- a/x11/qt5-qtbase/Makefile   Tue Jul 06 18:57:40 2021 +0000
+++ b/x11/qt5-qtbase/Makefile   Tue Jul 06 19:50:09 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.110 2021/05/25 09:26:32 thor Exp $
+# $NetBSD: Makefile,v 1.111 2021/07/06 19:50:09 rhialto Exp $
 
 DISTNAME=      qtbase-everywhere-src-${QTVERSION}
 PKGNAME=       qt5-qtbase-${QTVERSION}
-PKGREVISION=   5
+PKGREVISION=   6
 COMMENT=       C++ X GUI toolkit
 
 .include "../../x11/qt5-qtbase/Makefile.common"
diff -r fe9cc018a2eb -r efe052e20b40 x11/qt5-qtbase/files/qmake.conf
--- a/x11/qt5-qtbase/files/qmake.conf   Tue Jul 06 18:57:40 2021 +0000
+++ b/x11/qt5-qtbase/files/qmake.conf   Tue Jul 06 19:50:09 2021 +0000
@@ -48,6 +48,9 @@
 QMAKE_NM               = nm -P
 QMAKE_RANLIB           = @QMAKE_RANLIB@
 
+QMAKE_STRIP             = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+
 QMAKE_MOC              = $(QTDIR)/bin/moc
 QMAKE_UIC              = $(QTDIR)/bin/uic
 QMAKE_UIC3             = $(QTDIR)/bin/uic3
diff -r fe9cc018a2eb -r efe052e20b40 x11/qt5-qtbase/files/qmake.conf.mac
--- a/x11/qt5-qtbase/files/qmake.conf.mac       Tue Jul 06 18:57:40 2021 +0000
+++ b/x11/qt5-qtbase/files/qmake.conf.mac       Tue Jul 06 19:50:09 2021 +0000
@@ -14,7 +14,7 @@
 
 include(../common/gcc-base-mac.conf)
 include(../common/g++-unix.conf)
-include(../common/unix.conf)
+include(../common/bsd/bsd.conf)
 
 QMAKE_COMPILER         = @CC@
 



Home | Main Index | Thread Index | Old Index