aboutsummaryrefslogtreecommitdiffstats
path: root/x11/eterm
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2017-09-02 17:38:21 +0800
committernobutaka <nobutaka@FreeBSD.org>2017-09-02 17:38:21 +0800
commit3caef2657bf9e4741643d7753b0ec676bb4a83a2 (patch)
treed30638e244147b96352b4e7d5df8aef08b2cc565 /x11/eterm
parentcf9b00425a7d61350ac1c4346b57b7309aa6263b (diff)
downloadfreebsd-ports-gnome-3caef2657bf9e4741643d7753b0ec676bb4a83a2.tar.gz
freebsd-ports-gnome-3caef2657bf9e4741643d7753b0ec676bb4a83a2.tar.zst
freebsd-ports-gnome-3caef2657bf9e4741643d7753b0ec676bb4a83a2.zip
Fix package build error on current.
PR: 221628 Submitted by: nobutaka Approved by: maintainer timeout (two weeks)
Diffstat (limited to 'x11/eterm')
-rw-r--r--x11/eterm/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index bdbeb46d676b..cad7b8fb4d34 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -25,6 +25,13 @@ CONFIGURE_ARGS?=--enable-trans --enable-utmp \
--enable-xim --with-theme-update \
--with-backspace=bs --without-terminfo \
--enable-multi-charset
+
+.if exists(/usr/libexec/gdb)
+CONFIGURE_ENV= GDB=/usr/libexec/gdb
+.else
+CONFIGURE_ENV= GDB=/usr/bin/gdb
+.endif
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= iconv libtool shebangfix