FreeBSD Bugzilla – Attachment 246767 Details for
Bug 275524
sysutils/bashtop: unbreak (RUN_DEP+=bash, USES+=SHEBANGFIX, s/python3/python${PYTHON_VER}/
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to unbreak bashtop
0001-sysutils-bashtop-unbreak.patch (text/plain), 1.37 KB, created by
Vidar Karlsen
on 2023-12-04 14:42:42 UTC
(
hide
)
Description:
Patch to unbreak bashtop
Filename:
MIME Type:
Creator:
Vidar Karlsen
Created:
2023-12-04 14:42:42 UTC
Size:
1.37 KB
patch
obsolete
>From 8fd0ea1c7d408be5970ec4705140ee1afc6b1dbc Mon Sep 17 00:00:00 2001 >From: Vidar Karlsen <vidar@karlsen.tech> >Date: Mon, 4 Dec 2023 15:27:16 +0100 >Subject: [PATCH] sysutils/bashtop: unbreak > >- Add shells/bash to RUN_DEPENDS >- Add SHEBANGFIX >- Change "python3" to "python${PYTHON_VER}" in the script >--- > sysutils/bashtop/Makefile | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > >diff --git a/sysutils/bashtop/Makefile b/sysutils/bashtop/Makefile >index 8cbb28583e72..d68fdb810cd0 100644 >--- a/sysutils/bashtop/Makefile >+++ b/sysutils/bashtop/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= bashtop > DISTVERSION= 0.9.25 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > > MAINTAINER= lwhsu@FreeBSD.org >@@ -10,18 +10,23 @@ WWW= https://github.com/aristocratos/bashtop > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-RUN_DEPENDS= coreutils>0:sysutils/coreutils \ >+RUN_DEPENDS= bash>0:shells/bash \ >+ coreutils>0:sysutils/coreutils \ > gsed:textproc/gsed \ > ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} > >-USES= python:run >+USES= python:run shebangfix > > USE_GITHUB= yes > GH_ACCOUNT= aristocratos > GH_TAGNAME= d2eb76e >+SHEBANG_FILES= ${WRKSRC}/bashtop > > PLIST_FILES= bin/bashtop > >+post-patch: >+ ${REINPLACE_CMD} 's|python3|python${PYTHON_VER}|' ${WRKSRC}/bashtop >+ > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/bashtop ${STAGEDIR}${PREFIX}/bin > >-- >2.42.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
vidar
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 275524
: 246767