pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/podofo



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Sep  1 10:06:16 UTC 2023

Modified Files:
        pkgsrc/print/podofo: Makefile

Log Message:
podofo: Switch to USE_CXX_FEATURES.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/print/podofo/Makefile

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

Modified files:

Index: pkgsrc/print/podofo/Makefile
diff -u pkgsrc/print/podofo/Makefile:1.43 pkgsrc/print/podofo/Makefile:1.44
--- pkgsrc/print/podofo/Makefile:1.43   Wed Jul 12 21:05:30 2023
+++ pkgsrc/print/podofo/Makefile        Fri Sep  1 10:06:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2023/07/12 21:05:30 nia Exp $
+# $NetBSD: Makefile,v 1.44 2023/09/01 10:06:16 nia Exp $
 
 DISTNAME=      podofo-0.9.8
 PKGREVISION=   1
@@ -10,9 +10,7 @@ HOMEPAGE=     http://podofo.sourceforge.net/
 COMMENT=       Library to work with the PDF file format
 LICENSE=       gnu-lgpl-v2 AND gnu-gpl-v2
 
-# Podofo uses thread_local, which is a C++11 feature, but does not
-# appropriately set -std=c++11.
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
 
 USE_TOOLS+=    pkg-config
 
@@ -26,6 +24,11 @@ CMAKE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=$
 CMAKE_ARGS+=   -DCMAKE_DISABLE_FIND_PACKAGE_CppUnit=TRUE
 CMAKE_ARGS+=   -DCMAKE_DISABLE_FIND_PACKAGE_LUA=TRUE
 
+# Podofo uses thread_local, which is a C++11 feature, but does not
+# appropriately set -std=c++11.
+USE_CXX_FEATURES+=     c++11
+FORCE_CXX_STD+=                c++11
+
 .include "options.mk"
 
 .include "../../devel/cmake/build.mk"



Home | Main Index | Thread Index | Old Index