pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/litehtml



Module Name:    pkgsrc
Committed By:   nros
Date:           Tue Oct 31 12:53:52 UTC 2023

Modified Files:
        pkgsrc/www/litehtml: Makefile

Log Message:
litehtml: USE_CMAKE -> cmake/build.mk, set USE_C*_FEATURES


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/litehtml/Makefile

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

Modified files:

Index: pkgsrc/www/litehtml/Makefile
diff -u pkgsrc/www/litehtml/Makefile:1.3 pkgsrc/www/litehtml/Makefile:1.4
--- pkgsrc/www/litehtml/Makefile:1.3    Wed May 17 08:31:30 2023
+++ pkgsrc/www/litehtml/Makefile        Tue Oct 31 12:53:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/05/17 08:31:30 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2023/10/31 12:53:52 nros Exp $
 
 DISTNAME=      litehtml-0.6
 CATEGORIES=    www
@@ -10,12 +10,13 @@ HOMEPAGE=   http://www.litehtml.com/
 COMMENT=       Fast and lightweight HTML/CSS rendering engine
 LICENSE=       modified-bsd
 
-USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES=         c c++
+USE_CC_FEATURES=       c99
+USE_CXX_FEATURES=      c++11
 
-CMAKE_ARGS+=   -DEXTERNAL_GUMBO=ON
+CMAKE_CONFIGURE_ARGS+= -DEXTERNAL_GUMBO=ON
 # Turn off testing since it installs gtest
-CMAKE_ARGS+=   -DBUILD_TESTING:BOOL=OFF
+CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING:BOOL=OFF
 
 CMAKE_USE_GNU_INSTALL_DIRS=    no
 
@@ -28,5 +29,6 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/README.md \
                ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
+.include "../../devel/cmake/build.mk"
 .include "../../www/gumbo-parser/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index