Provide debug-emacs

This commit is contained in:
jca
2019-11-10 17:21:32 +00:00
parent 04192c9f73
commit 417179de64
2 changed files with 22 additions and 1 deletions
+12 -1
View File
@@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.89 2019/09/25 22:10:51 jca Exp $
# $OpenBSD: Makefile,v 1.90 2019/11/10 17:21:32 jca Exp $
COMMENT= GNU editor: extensible, customizable, self-documenting
VERSION= 26.3
REVISION= 0
DISTNAME= emacs-${VERSION}
CATEGORIES= editors
@@ -107,6 +108,16 @@ ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
. endif
.endif
DEBUG_PACKAGES = -
DEBUG_FILES = bin/ctags \
bin/ebrowse \
bin/emacs-${VERSION} \
bin/emacsclient \
bin/etags \
libexec/emacs/${VERSION}/${GCCARCH}/hexl \
libexec/emacs/${VERSION}/${GCCARCH}/movemail \
libexec/emacs/${VERSION}/${GCCARCH}/profile \
post-install:
chmod -t ${PREFIX}/bin/emacs-${VERSION}
.if ${FLAVOR:Mno_x11}
+10
View File
@@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST-debug,v 1.1 2019/11/10 17:21:32 jca Exp $
@bin bin/.debug/ctags.dbg
@bin bin/.debug/ebrowse.dbg
@bin bin/.debug/emacs-${VERSION}.dbg
@bin bin/.debug/emacsclient.dbg
@bin bin/.debug/etags.dbg
libexec/emacs/${VERSION}/${GCCARCH}/.debug/
@bin libexec/emacs/${VERSION}/${GCCARCH}/.debug/hexl.dbg
@bin libexec/emacs/${VERSION}/${GCCARCH}/.debug/movemail.dbg
@bin libexec/emacs/${VERSION}/${GCCARCH}/.debug/profile.dbg