Register .pyc files so they are properly deleted when removing the package.

The .pyc files could be created after installation when running egdb as
root.

ok kirby@ landry@ sthen@
This commit is contained in:
jca 2018-11-01 20:36:08 +00:00
parent 118219e296
commit c533fba26c
2 changed files with 29 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.57 2018/10/24 14:28:00 sthen Exp $
# $OpenBSD: Makefile,v 1.58 2018/11/01 20:36:08 jca Exp $
COMMENT= GNU debugger
CATEGORIES= devel
DISTNAME= gdb-7.12.1
REVISION= 4
REVISION= 5
HOMEPAGE= https://www.gnu.org/software/gdb/
@ -39,4 +39,7 @@ LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
TEST_DEPENDS += devel/dejagnu
MODPY_BUILDDEP = No
post-install:
${MODPY_BIN} -m compileall ${PREFIX}/share/gdb/python
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.18 2016/10/09 11:39:20 pascal Exp $
@comment $OpenBSD: PLIST,v 1.19 2018/11/01 20:36:09 jca Exp $
@conflict arm-none-eabi-gdb-*
@conflict libbfd-*
@bin bin/egdb
@ -26,31 +26,54 @@ share/gdb/
share/gdb/python/
share/gdb/python/gdb/
share/gdb/python/gdb/FrameDecorator.py
share/gdb/python/gdb/FrameDecorator.pyc
share/gdb/python/gdb/FrameIterator.py
share/gdb/python/gdb/FrameIterator.pyc
share/gdb/python/gdb/__init__.py
share/gdb/python/gdb/__init__.pyc
share/gdb/python/gdb/command/
share/gdb/python/gdb/command/__init__.py
share/gdb/python/gdb/command/__init__.pyc
share/gdb/python/gdb/command/explore.py
share/gdb/python/gdb/command/explore.pyc
share/gdb/python/gdb/command/frame_filters.py
share/gdb/python/gdb/command/frame_filters.pyc
share/gdb/python/gdb/command/pretty_printers.py
share/gdb/python/gdb/command/pretty_printers.pyc
share/gdb/python/gdb/command/prompt.py
share/gdb/python/gdb/command/prompt.pyc
share/gdb/python/gdb/command/type_printers.py
share/gdb/python/gdb/command/type_printers.pyc
share/gdb/python/gdb/command/unwinders.py
share/gdb/python/gdb/command/unwinders.pyc
share/gdb/python/gdb/command/xmethods.py
share/gdb/python/gdb/command/xmethods.pyc
share/gdb/python/gdb/frames.py
share/gdb/python/gdb/frames.pyc
share/gdb/python/gdb/function/
share/gdb/python/gdb/function/__init__.py
share/gdb/python/gdb/function/__init__.pyc
share/gdb/python/gdb/function/as_string.py
share/gdb/python/gdb/function/as_string.pyc
share/gdb/python/gdb/function/caller_is.py
share/gdb/python/gdb/function/caller_is.pyc
share/gdb/python/gdb/function/strfns.py
share/gdb/python/gdb/function/strfns.pyc
share/gdb/python/gdb/printer/
share/gdb/python/gdb/printer/__init__.py
share/gdb/python/gdb/printer/__init__.pyc
share/gdb/python/gdb/printer/bound_registers.py
share/gdb/python/gdb/printer/bound_registers.pyc
share/gdb/python/gdb/printing.py
share/gdb/python/gdb/printing.pyc
share/gdb/python/gdb/prompt.py
share/gdb/python/gdb/prompt.pyc
share/gdb/python/gdb/types.py
share/gdb/python/gdb/types.pyc
share/gdb/python/gdb/unwinder.py
share/gdb/python/gdb/unwinder.pyc
share/gdb/python/gdb/xmethod.py
share/gdb/python/gdb/xmethod.pyc
share/gdb/syscalls/
share/gdb/syscalls/aarch64-linux.xml
share/gdb/syscalls/amd64-linux.xml