pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gdb



Module Name:    pkgsrc
Committed By:   mcf
Date:           Tue Oct  6 21:13:39 UTC 2020

Modified Files:
        pkgsrc/devel/gdb: PLIST.common options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/gdb/PLIST.common
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/gdb/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdb/PLIST.common
diff -u pkgsrc/devel/gdb/PLIST.common:1.14 pkgsrc/devel/gdb/PLIST.common:1.15
--- pkgsrc/devel/gdb/PLIST.common:1.14  Sat Apr 11 12:47:28 2020
+++ pkgsrc/devel/gdb/PLIST.common       Tue Oct  6 21:13:38 2020
@@ -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-add-index.1
 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

Index: pkgsrc/devel/gdb/options.mk
diff -u pkgsrc/devel/gdb/options.mk:1.7 pkgsrc/devel/gdb/options.mk:1.8
--- pkgsrc/devel/gdb/options.mk:1.7     Mon Sep  2 13:19:36 2019
+++ pkgsrc/devel/gdb/options.mk Tue Oct  6 21:13:38 2020
@@ -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 @@ PKG_SUGGESTED_OPTIONS=        python
 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