pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs qt4-libs: Deal with non-portable unused f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9caefc1be9b
branches:  trunk
changeset: 414280:b9caefc1be9b
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Mar 24 19:45:47 2020 +0000

description:
qt4-libs: Deal with non-portable unused files

After extracting, remove a few files that have non-portable shell
constructs.  Both qt4-libs and qt4-tools build fine without them, so
they are obviously (slight leap) not used by the build.

(Someday, when we have a standard approach for this, this code can be
updated, but today it's important that this build.)

diffstat:

 x11/qt4-libs/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 78dd2ddac624 -r b9caefc1be9b x11/qt4-libs/Makefile.common
--- a/x11/qt4-libs/Makefile.common      Tue Mar 24 18:35:16 2020 +0000
+++ b/x11/qt4-libs/Makefile.common      Tue Mar 24 19:45:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.51 2020/03/18 21:55:23 tnn Exp $
+# $NetBSD: Makefile.common,v 1.52 2020/03/24 19:45:47 gdt Exp $
 # used by x11/qt4-docs/Makefile
 # used by x11/qt4-libs/Makefile
 # used by x11/qt4-mng/Makefile
@@ -154,6 +154,11 @@
 CXXFLAGS+=             -DQ_INLINE_TEMPLATES=inline
 .endif
 
+# Remove files with portability issues, thereby ~proving they are not used in the build.
+post-extract:
+       rm ${WRKSRC}/src/3rdparty/webkit/Source/JavaScriptCore/gyp/generate-dtrace-header.sh
+       rm ${WRKSRC}/src/3rdparty/webkit/Source/WebCore/gyp/streamline-inspector-source.sh
+
 pre-configure:
        sed     -e 's:@LOCALBASE@:${LOCALBASE}:g' \
                -e 's:@X11BASE@:${X11BASE}:g' \



Home | Main Index | Thread Index | Old Index