pkgsrc-WIP-changes archive

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

emacs-git: handle fingerprinted pdmp file



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Oct 18 13:27:24 2021 +0200
Changeset:	6573b11667d78b77c98f0d419e9fd143589bf19b

Modified Files:
	emacs-git/Makefile

Log Message:
emacs-git: handle fingerprinted pdmp file

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6573b11667d78b77c98f0d419e9fd143589bf19b

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

diffstat:
 emacs-git/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/emacs-git/Makefile b/emacs-git/Makefile
index 12fda66d2a..bb506aa421 100644
--- a/emacs-git/Makefile
+++ b/emacs-git/Makefile
@@ -59,6 +59,12 @@ post-extract:
 pre-configure:
 	(cd ${WRKSRC}; ${PKGSRC_SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} ./autogen.sh)
 
+# by default the filename of the emacs dump contains a fingerprint of the corresponding emacs version
+# but this is not needed and makes the PLIST more simple
+post-install:
+	cd ${DESTDIR}${PREFIX}/libexec/emacs/${PKGVERSION_NOREV}/${MACHINE_GNU_PLATFORM} && \
+		mv emacs-*.pdmp emacs.pdmp
+
 .include "../../wip/mk/git-package.mk"
 .include "../../fonts/harfbuzz/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"


Home | Main Index | Thread Index | Old Index