Date: Tue, 28 Feb 2023 06:59:11 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 06c240e65a4f - main - textproc/obsidian: Use ${LN} to install symlinks. Message-ID: <202302280659.31S6xBAl085251@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=06c240e65a4f6bc818011238f7759814a9ba44ca commit 06c240e65a4f6bc818011238f7759814a9ba44ca Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-02-28 06:57:36 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-02-28 06:58:17 +0000 textproc/obsidian: Use ${LN} to install symlinks. ${RLN} produces an incorrect relative symlink for some reason. Sponsored by: Serenity Cybersecurity, LLC --- textproc/obsidian/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/textproc/obsidian/Makefile b/textproc/obsidian/Makefile index 3f5a1c6a4c79..f4b0d6e5d9e9 100644 --- a/textproc/obsidian/Makefile +++ b/textproc/obsidian/Makefile @@ -8,6 +8,7 @@ PORTNAME= obsidian PORTVERSION= 1.1.9 +PORTREVISION= 1 CATEGORIES= textproc # Icon is taken from the Nix build recipe # https://github.com/NixOS/nixpkgs/blob/de5448dab588ad41aef40f8c7c0c230981656698/pkgs/applications/misc/obsidian/default.nix#L31-L34 @@ -88,7 +89,7 @@ post-install: ${RM} ${STAGEDIR}${DATADIR}/libvulkan.so.1 .for f in ${ELECTRON_FILES} ${RM} ${STAGEDIR}${DATADIR}/${f} - ${RLN} ${LOCALBASE}/share/electron${ELECTRON_VERSION}/${f} ${STAGEDIR}${DATADIR}/${f} + ${LN} -s ${LOCALBASE}/share/electron${ELECTRON_VERSION}/${f} ${STAGEDIR}${DATADIR}/${f} .endfor # We have to copy the electron binary instead of symlinking ${CP} ${LOCALBASE}/share/electron${ELECTRON_VERSION}/electron ${STAGEDIR}${DATADIR}/obsidian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302280659.31S6xBAl085251>