sync ports with The Matrix

This commit is contained in:
purplerain 2023-10-06 03:46:28 +00:00
parent c5eac0c660
commit a9b47ea9ec
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
46 changed files with 112 additions and 30 deletions

View file

@ -2,7 +2,7 @@ COMMENT = vi-like editor with sam-style structural regex support
V = 0.8
DISTNAME = vis-${V}
REVISION = 0
REVISION = 1
TEST_V = 0.5
TEST_DISTNAME = vis-test-${TEST_V}
@ -33,6 +33,7 @@ RUN_DEPENDS = devel/lpeg,${MODLUA_FLAVOR}>=0.12
TEST_DEPENDS = editors/vim
CONFIGURE_STYLE = simple
CONFIGURE_ENV = LUA_VER=${MODLUA_FLAVOR}
CONFIGURE_ARGS = --prefix=${PREFIX} \
--mandir=${PREFIX}/man

View file

@ -11,3 +11,12 @@ Index: configure
tryflag CFLAGS -ffunction-sections
tryflag CFLAGS -fdata-sections
tryldflag LDFLAGS_AUTO -Wl,--gc-sections
@@ -443,7 +442,7 @@ int main(int argc, char *argv[]) {
}
EOF
- for liblua in lua lua5.4 lua5.3 lua5.2 lua-5.3 lua-5.2 lua54 lua53 lua52; do
+ for liblua in $LUA_VER; do
printf " checking for %s... " "$liblua"
if test "$have_pkgconfig" = "yes" ; then