git: 06c240e65a4f - main - textproc/obsidian: Use ${LN} to install symlinks.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Feb 2023 06:59:11 UTC
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