Hi,

I've been testing various emacs builds, at one point I was attempting to enable 
the native-compilation so it was probably leftover from there.

Timo

On Fri, Sep 16, 2022, at 16:54, Jeremie Courreges-Anglas wrote:
> On Thu, Sep 15 2022, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>> Hmm, not sure why it removes directories.
>> I tested by manually updating the PLIST to keep the directories. After
>> unistalling emacs it seems to leave behind the /usr/local/share/emacs
>> directory. It probably should remove it as it is mentioned in the
>> PLIST?
>
> Regarding the directories stripped: it happens with eg the gtk3 FLAVOR,
> probably because some dep already ships those directories.
>
> Here's a minimal diff.  Since --without-native-compilation is the
> default I dropped it.  Was there a reason to explicitely add it?
>
> By popular demand, here are the no_x11 and gtk3 package flavors:
>
>   https://russell.wxcvbn.org/pub/OpenBSD/snapshots/emacs-28.2/
>
> I'm not aware of users affected by the bugs fixed in this 28.2 update,
> but it seems worthwhile to push this in 7.2.  I would appreciate some
> test reports.  Also if someone could confirm that emacs-28.2 builds on
> sparc64 (base-gcc) that would help.
>
> Thanks for bringing this up, Timo.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/editors/emacs/Makefile,v
> retrieving revision 1.105
> diff -u -p -r1.105 Makefile
> --- Makefile  19 Apr 2022 11:54:34 -0000      1.105
> +++ Makefile  14 Sep 2022 22:07:19 -0000
> @@ -1,6 +1,6 @@
>  COMMENT=             GNU editor: extensible, customizable, self-documenting
> 
> -VERSION=             28.1
> +VERSION=             28.2
>  DISTNAME=            emacs-${VERSION}
> 
>  CATEGORIES=          editors
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/editors/emacs/distinfo,v
> retrieving revision 1.16
> diff -u -p -r1.16 distinfo
> --- distinfo  19 Apr 2022 11:54:34 -0000      1.16
> +++ distinfo  14 Sep 2022 22:07:19 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (emacs-28.1.tar.xz) = KLGz0JkDegiPCkyiUdfnJi6rXqFneqv/psRCaWGtdeE=
> -SIZE (emacs-28.1.tar.xz) = 47699512
> +SHA256 (emacs-28.2.tar.xz) = 7iEYIjPvMjLcl7SGry2G4UBC27ZbvFNd9WLDqFgjJIg=
> +SIZE (emacs-28.2.tar.xz) = 47722600
> Index: patches/patch-lisp_files_el
> ===================================================================
> RCS file: /cvs/ports/editors/emacs/patches/patch-lisp_files_el,v
> retrieving revision 1.7
> diff -u -p -r1.7 patch-lisp_files_el
> --- patches/patch-lisp_files_el       19 Apr 2022 11:54:34 -0000      1.7
> +++ patches/patch-lisp_files_el       14 Sep 2022 22:07:19 -0000
> @@ -3,7 +3,7 @@
>  Index: lisp/files.el
>  --- lisp/files.el.orig
>  +++ lisp/files.el
> -@@ -2918,6 +2918,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CB
> +@@ -2919,6 +2919,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CB
>        ("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode)
>        ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
>        ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MS-DOS
> Index: patches/patch-src_emacs_c
> ===================================================================
> RCS file: /cvs/ports/editors/emacs/patches/patch-src_emacs_c,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-src_emacs_c
> --- patches/patch-src_emacs_c 19 Apr 2022 11:54:34 -0000      1.3
> +++ patches/patch-src_emacs_c 14 Sep 2022 22:07:19 -0000
> @@ -3,7 +3,7 @@ Don't use printf %n.
>  Index: src/emacs.c
>  --- src/emacs.c.orig
>  +++ src/emacs.c
> -@@ -2742,21 +2742,13 @@ shut_down_emacs (int sig, Lisp_Object stuff)
> +@@ -2746,21 +2746,13 @@ shut_down_emacs (int sig, Lisp_Object stuff)
>         reset_all_sys_modes ();
>         if (sig && sig != SIGTERM)
>       {
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/editors/emacs/pkg/PLIST,v
> retrieving revision 1.28
> diff -u -p -r1.28 PLIST
> --- pkg/PLIST 19 Apr 2022 11:54:34 -0000      1.28
> +++ pkg/PLIST 14 Sep 2022 22:07:19 -0000
> @@ -3810,6 +3810,8 @@ share/emacs/${VERSION}/lisp/term/common-
>  share/emacs/${VERSION}/lisp/term/common-win.elc
>  share/emacs/${VERSION}/lisp/term/cygwin.el.gz
>  share/emacs/${VERSION}/lisp/term/cygwin.elc
> +share/emacs/${VERSION}/lisp/term/fbterm.el.gz
> +share/emacs/${VERSION}/lisp/term/fbterm.elc
>  share/emacs/${VERSION}/lisp/term/internal.el.gz
>  share/emacs/${VERSION}/lisp/term/internal.elc
>  share/emacs/${VERSION}/lisp/term/iris-ansi.el.gz
>
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to