pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mle: simplify, set USE_CC_FEATURES



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Mar 18 08:15:55 2024 +0100
Changeset:	47a2580d7fa456185714c848e566ba55d9a72269

Modified Files:
	mle/Makefile

Log Message:
mle: simplify, set USE_CC_FEATURES

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=47a2580d7fa456185714c848e566ba55d9a72269

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mle/Makefile | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diffs:
diff --git a/mle/Makefile b/mle/Makefile
index 684d68a3f0..c41e9644f4 100644
--- a/mle/Makefile
+++ b/mle/Makefile
@@ -3,8 +3,7 @@
 DISTNAME=	mle-1.7.2
 CATEGORIES=	editors
 MASTER_SITES=	${MASTER_SITE_GITHUB:=adsr/}
-GITHUB_PROJECT=	mle
-GITHUB_RELEASE=	v1.7.2
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	ktnb%posteo.net@localhost
 HOMEPAGE=	https://github.com/adsr/mle/
@@ -14,6 +13,8 @@ LICENSE=	apache-2.0
 USE_TOOLS+=	pkg-config gmake
 USE_LANGUAGES=	c c++
 
+USE_CC_FEATURES+=	c99
+
 MAKE_FLAGS+=	prefix=${PREFIX}
 
 INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
@@ -21,19 +22,17 @@ INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
 SUBST_CLASSES+=		lua
 SUBST_MESSAGE.lua=	rewrite lua directory directives
 SUBST_FILES.lua=	mle.h
-SUBST_SED.lua=		-e 's,lua5.4/lualib.h,lua-5.4/lualib.h,g'
-SUBST_SED.lua+=		-e 's,lua5.4/lua.h,lua-5.4/lua.h,g'
-SUBST_SED.lua+=		-e 's,lua5.4/lauxlib.h,lua-5.4/lauxlib.h,g'
+SUBST_SED.lua=		-e 's,lua5.4/,lua-5.4/,g'
 SUBST_STAGE.lua=	pre-build
 
 SUBST_CLASSES+=		makefile
-SUBST_MESSAGE.makefile=	remove -v flag
+SUBST_MESSAGE.makefile=	remove -v flag from install(1) command
 SUBST_FILES.makefile=	Makefile
 SUBST_SED.makefile=	-e 's,install -v,install,g'
 SUBST_STAGE.makefile=	pre-build
 
 pre-install:
-	cd ${WRKSRC} && ${INSTALL_MAN} mle.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/mle.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../devel/pcre2/buildlink3.mk"
 .include "../../lang/lua54/buildlink3.mk"


Home | Main Index | Thread Index | Old Index