Honour DEBUG, provide DEBUG_PACKAGES and remove obsolete libtermkey fix
libtermkey no longer dumps core without TERM being set since the recent update to 0.22.
This commit is contained in:
parent
a0cef780a2
commit
78bf1354f7
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2020/06/10 10:53:16 kn Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2020/06/11 16:56:34 kn Exp $
|
||||
|
||||
COMMENT = vi-like editor with sam-style structural regex support
|
||||
|
||||
@ -36,13 +36,12 @@ RUN_DEPENDS = devel/lpeg,${MODLUA_FLAVOR}>=0.12
|
||||
|
||||
TEST_DEPENDS = editors/vim
|
||||
|
||||
# libtermkey dumps core when TERM is unset
|
||||
TEST_ENV = TERM=${TERM}
|
||||
|
||||
CONFIGURE_STYLE = simple
|
||||
CONFIGURE_ARGS = --prefix=${PREFIX} \
|
||||
--mandir=${PREFIX}/man
|
||||
|
||||
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
||||
|
||||
# for test/core/Makefile
|
||||
USE_GMAKE = Yes
|
||||
|
||||
|
15
editors/vis/patches/patch-configure
Normal file
15
editors/vis/patches/patch-configure
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-configure,v 1.4 2020/06/11 16:56:34 kn Exp $
|
||||
|
||||
Removed hardcoded optimizations.
|
||||
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -235,7 +235,6 @@ esac
|
||||
tryflag CFLAGS -pipe
|
||||
|
||||
# Try flags to optimize binary size
|
||||
-tryflag CFLAGS -O2
|
||||
tryflag CFLAGS -ffunction-sections
|
||||
tryflag CFLAGS -fdata-sections
|
||||
tryldflag LDFLAGS_AUTO -Wl,--gc-sections
|
Loading…
Reference in New Issue
Block a user