summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrhialto <rhialto@pkgsrc.org>2021-01-01 15:37:54 +0000
committerrhialto <rhialto@pkgsrc.org>2021-01-01 15:37:54 +0000
commitda306b0794e4d457e3bd6758928d172473e6486d (patch)
tree93b65c08f3d93cffeb83b21481c4e72fdeca1ac7 /x11
parent2767407518bf9c04b58302ecb589987a234de4e9 (diff)
downloadpkgsrc-da306b0794e4d457e3bd6758928d172473e6486d.tar.gz
x11/x3270: replace bash in a shell script.
Diffstat (limited to 'x11')
-rw-r--r--x11/x3270/Makefile5
-rw-r--r--x11/x3270/options.mk3
2 files changed, 5 insertions, 3 deletions
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile
index 9bd426a53d2..426ca9798ba 100644
--- a/x11/x3270/Makefile
+++ b/x11/x3270/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2021/01/01 13:05:22 rhialto Exp $
+# $NetBSD: Makefile,v 1.44 2021/01/01 15:37:54 rhialto Exp $
DISTNAME= suite3270-4.0ga13-src
PKGNAME= x3270-4.0ga13
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=x3270/}
EXTRACT_SUFX= .tgz
@@ -14,7 +15,7 @@ LICENSE= modified-bsd
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/suite3270-4.0
-USE_TOOLS+= bdftopcf gmake
+USE_TOOLS+= bdftopcf gmake bash:run
FONTS_DIRS.x11+= ${PREFIX}/share/fonts/X11/misc
diff --git a/x11/x3270/options.mk b/x11/x3270/options.mk
index 49d7010db5b..35ceb0bd8b2 100644
--- a/x11/x3270/options.mk
+++ b/x11/x3270/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2021/01/01 13:05:22 rhialto Exp $
+# $NetBSD: options.mk,v 1.2 2021/01/01 15:37:54 rhialto Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.x3270
PKG_SUPPORTED_OPTIONS= curses x11 tcl
@@ -22,6 +22,7 @@ CONFIGURE_ARGS+= --disable-c3270
CONFIGURE_ARGS+= --enable-x3270
CONFIGURE_ARGS+= --enable-x3270if
PLIST.x11= yes
+REPLACE_BASH+= x3270/x3270a.in
.else
CONFIGURE_ARGS+= --disable-x3270
CONFIGURE_ARGS+= --disable-x3270if