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?

Timo

On Wed, Sep 14, 2022, at 11:57, Stuart Henderson wrote:
> Why are the directories removed from PLIST?
>
> -- 
>   Sent from a phone, apologies for poor formatting.
>
> On 14 September 2022 04:36:55 Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>
>> Hi,
>>
>> I'd like to see latest emacs in 7.2 release. Here's update to latest
>> 28.2 which was minor release focused on fixing bugs. Works for me on
>> amd64 with gtk3 flavor.
>>
>> Timo
>>
>> diff /usr/ports
>> commit - b5573adcb9ec5d1af5faa614d573d3c4f66faf53
>> path + /usr/ports
>> blob - 0e98a6ae4357a3f36db5187d58ff0b150a2fa8f6
>> file + editors/emacs/Makefile
>> --- editors/emacs/Makefile
>> +++ editors/emacs/Makefile
>> @@ -1,6 +1,6 @@
>> COMMENT=             GNU editor: extensible, customizable, self-documenting
>>
>> -VERSION=            28.1
>> +VERSION=            28.2
>> DISTNAME=            emacs-${VERSION}
>>
>> CATEGORIES=          editors
>> @@ -27,7 +27,8 @@ GCCARCH=           ${MACHINE_ARCH}-unknown-openbsd
>> CONFIGURE_STYLE=     gnu
>> MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
>> CONFIGURE_ARGS=              --build="${GCCARCH}" \
>> -                    --without-sound
>> +                    --without-sound \
>> +                    --without-native-compilation
>>
>> CONFIGURE_ENV=               CPPFLAGS="-I${LOCALBASE}/include" \
>>                      LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
>> blob - f0f4496ccf69ed3c9680d987f261312d0cf1d56f
>> file + editors/emacs/distinfo
>> --- editors/emacs/distinfo
>> +++ editors/emacs/distinfo
>> @@ -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
>> blob - ecfec6ea57f35c450a7d7151a49b311d77e976ad
>> file + editors/emacs/patches/patch-lisp_files_el
>> --- editors/emacs/patches/patch-lisp_files_el
>> +++ editors/emacs/patches/patch-lisp_files_el
>> @@ -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
>> blob - ffe5d789b5333e8f9e5c043534746f9c3fce45eb
>> file + editors/emacs/patches/patch-src_emacs_c
>> --- editors/emacs/patches/patch-src_emacs_c
>> +++ editors/emacs/patches/patch-src_emacs_c
>> @@ -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)
>>      {
>> blob - e9cfe21585d748e19f19862e9b1bbdb2e433f389
>> file + editors/emacs/pkg/PLIST
>> --- editors/emacs/pkg/PLIST
>> +++ editors/emacs/pkg/PLIST
>> @@ -80,8 +80,6 @@ include/emacs-module.h
>> @info info/widget.info
>> @info info/wisent.info
>> @info info/woman.info
>> -lib/systemd/
>> -lib/systemd/user/
>> lib/systemd/user/emacs.service
>> libexec/emacs/
>> libexec/emacs/${VERSION}/
>> @@ -96,7 +94,6 @@ libexec/emacs/${VERSION}/${GCCARCH}/rcs2log
>> @man man/man1/emacsclient.1
>> @man man/man1/etags.1
>> share/doc/pkg-readmes/${PKGSTEM}
>> -share/emacs/
>> share/emacs/${VERSION}/
>> share/emacs/${VERSION}/etc/
>> share/emacs/${VERSION}/etc/AUTHORS
>> @@ -3810,6 +3807,8 @@ share/emacs/${VERSION}/lisp/term/common-win.el.gz
>> 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
>> @@ -4173,7 +4172,6 @@ share/emacs/${VERSION}/lisp/xwidget.el.gz
>> share/emacs/${VERSION}/lisp/xwidget.elc
>> share/emacs/${VERSION}/site-lisp/
>> share/emacs/${VERSION}/site-lisp/subdirs.el
>> -share/emacs/site-lisp/
>> share/emacs/site-lisp/subdirs.el
>> share/metainfo/
>> share/metainfo/emacs.metainfo.xml

Reply via email to