aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-31 09:42:14 +0800
committeryuri <yuri@FreeBSD.org>2018-07-31 09:42:14 +0800
commit552cfbfd4bfd156260196284c9d9ade454030cc1 (patch)
tree83768f7c60e0f85cf48a7516ff08f2fe8cb752dc
parent2c6a53d96d0c82d6002470d87d0ff180c4609cb5 (diff)
downloadfreebsd-ports-gnome-552cfbfd4bfd156260196284c9d9ade454030cc1.tar.gz
freebsd-ports-gnome-552cfbfd4bfd156260196284c9d9ade454030cc1.tar.zst
freebsd-ports-gnome-552cfbfd4bfd156260196284c9d9ade454030cc1.zip
devel/bashdb: Use the config argument to supply bash
Reported by: adamw
-rw-r--r--devel/bashdb/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/bashdb/Makefile b/devel/bashdb/Makefile
index d11ab2963bce..00559994717a 100644
--- a/devel/bashdb/Makefile
+++ b/devel/bashdb/Makefile
@@ -2,6 +2,7 @@
PORTNAME= bashdb
DISTVERSION= 4.4-0.94
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/
@@ -15,15 +16,12 @@ BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash:shells/bash
USES= gmake python shebangfix
-SHEBANG_GLOB= *.py
+SHEBANG_FILES= lib/term-highlight.py
GNU_CONFIGURE= yes
NO_BUILD= yes
NO_ARCH= yes
-INFO= bashdb
-
-post-install:
- @${REINPLACE_CMD} -i '' 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash
+INFO= bashdb
.include <bsd.port.mk>