Skip to content

Commit 34906b6

Browse files
committed
lutok: update to 0.6.1.
## Changes in version 0.6.1 Released on 2025/XX/YY. * Issue 37: fix release tarball by relying on `make dist`. ## Changes in version 0.6 Released on 2025/01/04. * Remove lingering C++-11 support. The project now requires a C++14 compliant toolchain to build. * Fix a Doxygen warning by deleting the `stack_cleaner` copy/assignment operator. * Vendor the ATF m4 files from freebsd/[email protected] , * `m4/lua.m4`: remove legacy `lua-config` support in favor of `pkg_config`. * Fix a benign buffer overrun complaint from gcc 13.2. * Rename `--with-atf` to `--enable-atf`. ## Changes in version 0.5 Released on 2024/11/25. * Use more modern autotools macros. Bump the minimum autoconf version to 2.68 to support this change. * Modify build code to improve Lua 5.4 support. * Replace `std::auto_ptr` use with `std::unique_ptr` use. This improves C++ standard support and fixes the build with newer C++ standards.
1 parent 00da330 commit 34906b6

3 files changed

Lines changed: 178 additions & 208 deletions

File tree

devel/lutok/Makefile

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
1-
# $NetBSD: Makefile,v 1.15 2024/07/25 05:41:51 wiz Exp $
1+
# $NetBSD: Makefile,v 1.16 2025/03/30 07:51:22 wiz Exp $
22

3-
DISTNAME= lutok-0.4
4-
PKGREVISION= 3
3+
DISTNAME= lutok-0.6.1
54
CATEGORIES= devel
6-
MASTER_SITES= http://lutok.googlecode.com/files/
5+
MASTER_SITES= ${MASTER_SITE_GITHUB:=freebsd/}
6+
GITHUB_RELEASE= ${DISTNAME}
77

88
MAINTAINER= [email protected]
9-
HOMEPAGE= https://github.com/jmmv/lutok
9+
HOMEPAGE= https://github.com/freebsd/lutok/
1010
COMMENT= Lightweight C++ API for Lua
1111
LICENSE= modified-bsd
1212

1313
USE_LANGUAGES= c c++
14+
USE_CXX_FEATURES+= c++14
1415
USE_LIBTOOL= yes
1516
USE_TOOLS= pkg-config
1617
GNU_CONFIGURE= yes
1718

18-
PKG_OPTIONS_VAR= PKG_OPTIONS.lutok
19-
PKG_SUPPORTED_OPTIONS= tests
20-
PKG_SUGGESTED_OPTIONS= tests
21-
2219
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/lutok
2320
CONFIGURE_ARGS+= --htmldir=${PREFIX}/share/doc/lutok/html
2421
CONFIGURE_ARGS+= --without-doxygen
@@ -27,16 +24,6 @@ MAKE_FLAGS+= examplesdir=${PREFIX}/share/examples/lutok
2724

2825
PKGCONFIG_OVERRIDE= lutok.pc.in
2926

30-
.include "../../mk/bsd.options.mk"
31-
32-
.if !empty(PKG_OPTIONS:Mtests)
33-
. include "../../devel/atf/buildlink3.mk"
34-
CONFIGURE_ARGS+= --with-atf
35-
PLIST_SUBST+= TESTS=
36-
.else
37-
CONFIGURE_ARGS+= --without-atf
38-
PLIST_SUBST+= TESTS=@comment
39-
.endif
40-
27+
.include "options.mk"
4128
.include "../../lang/lua/buildlink3.mk"
4229
.include "../../mk/bsd.pkg.mk"

0 commit comments

Comments
 (0)