git: dbc2aba1b9b2 - main - biology/linux-foldingathome: Fix WRKSRC paths
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Sep 2025 12:34:34 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dbc2aba1b9b22399fbbb809e7c7aa620fbd08cec
commit dbc2aba1b9b22399fbbb809e7c7aa620fbd08cec
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-09-03 12:30:55 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-09-03 12:30:55 +0000
biology/linux-foldingathome: Fix WRKSRC paths
After the recent changes to DISTNAME, the paths to files in WRKSRC were
no longer correct. Use DISTNAME:T to use the part of DISTNAME that we
actually need.
Reported by: pkg-fallout
Fixes: 6086ff0b3283 biology/linux-foldingathome: Add support for aarch64
---
biology/linux-foldingathome/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/biology/linux-foldingathome/Makefile b/biology/linux-foldingathome/Makefile
index 7df5db1a03c8..6b8c70ff3e5d 100644
--- a/biology/linux-foldingathome/Makefile
+++ b/biology/linux-foldingathome/Makefile
@@ -12,7 +12,7 @@ WWW= https://foldingathome.org/
# Distribution without permission is prohibited
LICENSE= FAHSL
LICENSE_NAME= Folding@home Software License
-LICENSE_FILE= ${WRKSRC}/${DISTNAME}/LICENSE
+LICENSE_FILE= ${WRKSRC}/${DISTNAME:T}/LICENSE
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \
auto-accept
@@ -55,7 +55,7 @@ DISTFILES= ${ONLY_FOR_ARCHS:@.ARCH.@${_DISTNAME_${.ARCH.}}${EXTRACT_SUFX}@}
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/fah-client ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:T}/fah-client ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/config.xml.sample \
${STAGEDIR}${_FAHCLIENT_CONFIG_XML}.sample
@@ -63,7 +63,7 @@ do-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/${DISTNAME}/|} \
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/${DISTNAME:T}/|} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>