pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gdb gdb: make python files in PLIST conditional ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/572ba43fa7ad
branches:  trunk
changeset: 440355:572ba43fa7ad
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Tue Oct 06 21:13:38 2020 +0000

description:
gdb: make python files in PLIST conditional on python option

These files are only installed when python support is enabled. This
issue was already fixed for devel/gdb7 by micha, so apply the same
fix here.

diffstat:

 devel/gdb/PLIST.common |  48 ++++++++++++++++++++++++------------------------
 devel/gdb/options.mk   |   4 +++-
 2 files changed, 27 insertions(+), 25 deletions(-)

diffs (82 lines):

diff -r aa2ccf0935f2 -r 572ba43fa7ad devel/gdb/PLIST.common
--- a/devel/gdb/PLIST.common    Tue Oct 06 20:59:25 2020 +0000
+++ b/devel/gdb/PLIST.common    Tue Oct 06 21:13:38 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.14 2020/04/11 12:47:28 bsiegert Exp $
+@comment $NetBSD: PLIST.common,v 1.15 2020/10/06 21:13:38 mcf Exp $
 bin/gdb
 bin/gdb-add-index
 include/gdb/jit-reader.h
@@ -9,29 +9,29 @@
 man/man1/gdb.1
 man/man1/gdbserver.1
 man/man5/gdbinit.5
-share/gdb/python/gdb/FrameDecorator.py
-share/gdb/python/gdb/FrameIterator.py
-share/gdb/python/gdb/__init__.py
-share/gdb/python/gdb/command/__init__.py
-share/gdb/python/gdb/command/explore.py
-share/gdb/python/gdb/command/frame_filters.py
-share/gdb/python/gdb/command/pretty_printers.py
-share/gdb/python/gdb/command/prompt.py
-share/gdb/python/gdb/command/type_printers.py
-share/gdb/python/gdb/command/unwinders.py
-share/gdb/python/gdb/command/xmethods.py
-share/gdb/python/gdb/frames.py
-share/gdb/python/gdb/function/__init__.py
-share/gdb/python/gdb/function/as_string.py
-share/gdb/python/gdb/function/caller_is.py
-share/gdb/python/gdb/function/strfns.py
-share/gdb/python/gdb/printer/__init__.py
-share/gdb/python/gdb/printer/bound_registers.py
-share/gdb/python/gdb/printing.py
-share/gdb/python/gdb/prompt.py
-share/gdb/python/gdb/types.py
-share/gdb/python/gdb/unwinder.py
-share/gdb/python/gdb/xmethod.py
+${PLIST.python}share/gdb/python/gdb/FrameDecorator.py
+${PLIST.python}share/gdb/python/gdb/FrameIterator.py
+${PLIST.python}share/gdb/python/gdb/__init__.py
+${PLIST.python}share/gdb/python/gdb/command/__init__.py
+${PLIST.python}share/gdb/python/gdb/command/explore.py
+${PLIST.python}share/gdb/python/gdb/command/frame_filters.py
+${PLIST.python}share/gdb/python/gdb/command/pretty_printers.py
+${PLIST.python}share/gdb/python/gdb/command/prompt.py
+${PLIST.python}share/gdb/python/gdb/command/type_printers.py
+${PLIST.python}share/gdb/python/gdb/command/unwinders.py
+${PLIST.python}share/gdb/python/gdb/command/xmethods.py
+${PLIST.python}share/gdb/python/gdb/frames.py
+${PLIST.python}share/gdb/python/gdb/function/__init__.py
+${PLIST.python}share/gdb/python/gdb/function/as_string.py
+${PLIST.python}share/gdb/python/gdb/function/caller_is.py
+${PLIST.python}share/gdb/python/gdb/function/strfns.py
+${PLIST.python}share/gdb/python/gdb/printer/__init__.py
+${PLIST.python}share/gdb/python/gdb/printer/bound_registers.py
+${PLIST.python}share/gdb/python/gdb/printing.py
+${PLIST.python}share/gdb/python/gdb/prompt.py
+${PLIST.python}share/gdb/python/gdb/types.py
+${PLIST.python}share/gdb/python/gdb/unwinder.py
+${PLIST.python}share/gdb/python/gdb/xmethod.py
 share/gdb/syscalls/aarch64-linux.xml
 share/gdb/syscalls/amd64-linux.xml
 share/gdb/syscalls/arm-linux.xml
diff -r aa2ccf0935f2 -r 572ba43fa7ad devel/gdb/options.mk
--- a/devel/gdb/options.mk      Tue Oct 06 20:59:25 2020 +0000
+++ b/devel/gdb/options.mk      Tue Oct 06 21:13:38 2020 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.7 2019/09/02 13:19:36 adam Exp $
+# $NetBSD: options.mk,v 1.8 2020/10/06 21:13:38 mcf Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gdb
 PKG_SUPPORTED_OPTIONS= python
 PKG_SUGGESTED_OPTIONS= python
+PLIST_VARS+=           python
 
 .include "../../mk/bsd.options.mk"
 
@@ -10,4 +11,5 @@
 CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
 PYTHON_VERSIONS_ACCEPTED=       27
 .include "../../lang/python/application.mk"
+PLIST.python=  yes
 .endif



Home | Main Index | Thread Index | Old Index