pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  2 19:27:32 UTC 2023

Modified Files:
        pkgsrc/devel/gearmand: Makefile
        pkgsrc/editors/codelite: Makefile
        pkgsrc/emulators/gearboy: Makefile
        pkgsrc/emulators/gearsystem: Makefile
        pkgsrc/emulators/mame: Makefile
        pkgsrc/games/fallingtime: Makefile
        pkgsrc/games/openttd: Makefile
        pkgsrc/games/warzone2100: Makefile
        pkgsrc/graphics/ptex: Makefile
        pkgsrc/parallel/openmp: Makefile
        pkgsrc/sysutils/WCMCommander: Makefile
        pkgsrc/sysutils/bacula-qt-console: Makefile
        pkgsrc/sysutils/bacula-tray-monitor: Makefile
        pkgsrc/sysutils/bacula-tray-monitor-qt5: Makefile
        pkgsrc/sysutils/lnav: Makefile
        pkgsrc/www/snownews: Makefile

Log Message:
*: Instead of using BUILDLINK_TRANSFORM to force a "gnu" language
variant when a package is using GNU extensions without setting
-std=gnuXX, use FORCE_(C|CXX)_STD.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/devel/gearmand/Makefile
cvs rdiff -u -r1.52 -r1.53 pkgsrc/editors/codelite/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/gearboy/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/gearsystem/Makefile
cvs rdiff -u -r1.174 -r1.175 pkgsrc/emulators/mame/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/games/fallingtime/Makefile
cvs rdiff -u -r1.114 -r1.115 pkgsrc/games/openttd/Makefile
cvs rdiff -u -r1.72 -r1.73 pkgsrc/games/warzone2100/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/ptex/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/parallel/openmp/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/WCMCommander/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/sysutils/bacula-qt-console/Makefile
cvs rdiff -u -r1.54 -r1.55 pkgsrc/sysutils/bacula-tray-monitor/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/lnav/Makefile
cvs rdiff -u -r1.71 -r1.72 pkgsrc/www/snownews/Makefile

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

Modified files:

Index: pkgsrc/devel/gearmand/Makefile
diff -u pkgsrc/devel/gearmand/Makefile:1.65 pkgsrc/devel/gearmand/Makefile:1.66
--- pkgsrc/devel/gearmand/Makefile:1.65 Sun Apr 23 14:26:08 2023
+++ pkgsrc/devel/gearmand/Makefile      Wed Aug  2 19:27:30 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2023/04/23 14:26:08 adam Exp $
+# $NetBSD: Makefile,v 1.66 2023/08/02 19:27:30 nia Exp $
 
 DISTNAME=      gearmand-1.1.19.1
 PKGREVISION=   14
@@ -17,6 +17,8 @@ USE_TOOLS+=   gmake pkg-config
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
 
+FORCE_CXX_STD= gnu++11
+
 CONFIGURE_ARGS+=       --enable-jobserver=no
 CONFIGURE_ARGS+=       --disable-libdrizzle
 CONFIGURE_ARGS+=       --with-boost=${BUILDLINK_PREFIX.boost-libs}
@@ -28,8 +30,6 @@ CONFIGURE_ENV.SunOS+= ax_cv_check_cxxfla
 
 PKGCONFIG_OVERRIDE+=   support/gearmand.pc.in
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++0x:-std=gnu++0x
-
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/gperf/buildlink3.mk"

Index: pkgsrc/editors/codelite/Makefile
diff -u pkgsrc/editors/codelite/Makefile:1.52 pkgsrc/editors/codelite/Makefile:1.53
--- pkgsrc/editors/codelite/Makefile:1.52       Wed Jun  7 10:01:02 2023
+++ pkgsrc/editors/codelite/Makefile    Wed Aug  2 19:27:30 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2023/06/07 10:01:02 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2023/08/02 19:27:30 nia Exp $
 
 DISTNAME=      codelite-16.0
 PKGREVISION=   5
@@ -18,6 +18,9 @@ USE_TOOLS+=           pkg-config bash
 
 CMAKE_ARGS+=           -DPREFIX:STRING=${PREFIX}
 
+# Uses alloca, cannot use standard C++ on NetBSD.
+FORCE_CXX_STD=         gnu++11
+
 .include "../../mk/bsd.prefs.mk"
 
 # Likely needed because pango's pkgconfig CFLAGS aren't being applied.
@@ -66,8 +69,6 @@ REPLACE_PYTHON+=      codelite_open_helper.py
 
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/codelite
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11 # alloca
-
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--disable-new-dtags
 
 .include "../../lang/nodejs/application.mk"

Index: pkgsrc/emulators/gearboy/Makefile
diff -u pkgsrc/emulators/gearboy/Makefile:1.11 pkgsrc/emulators/gearboy/Makefile:1.12
--- pkgsrc/emulators/gearboy/Makefile:1.11      Sat May  6 19:09:13 2023
+++ pkgsrc/emulators/gearboy/Makefile   Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2023/05/06 19:09:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2023/08/02 19:27:31 nia Exp $
 
 PKGREVISION= 6
 .include "Makefile.common"
@@ -18,10 +18,10 @@ BUILD_DIRS= platforms/bsd
 MAKE_FLAGS+=   CXX=${CXX}
 MAKE_FLAGS+=   GIT_VERSION="pkgsrc"
 
-.include "../../mk/bsd.prefs.mk"
+# Uses alloca, cannot use standard C++ on NetBSD.
+FORCE_CXX_STD= gnu++11
 
-# alloca
-BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
+.include "../../mk/bsd.prefs.mk"
 
 INSTALLATION_DIRS+=    bin share/applications share/pixmaps
 

Index: pkgsrc/emulators/gearsystem/Makefile
diff -u pkgsrc/emulators/gearsystem/Makefile:1.12 pkgsrc/emulators/gearsystem/Makefile:1.13
--- pkgsrc/emulators/gearsystem/Makefile:1.12   Sat May  6 19:09:13 2023
+++ pkgsrc/emulators/gearsystem/Makefile        Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/05/06 19:09:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2023/08/02 19:27:31 nia Exp $
 
 PKGREVISION= 5
 .include "Makefile.common"
@@ -18,8 +18,8 @@ BUILD_DIRS=   platforms/bsd
 MAKE_FLAGS+=   CXX=${CXX}
 MAKE_FLAGS+=   GIT_VERSION="pkgsrc"
 
-# alloca
-BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
+# Uses alloca, cannot use standard C++ on NetBSD.
+FORCE_CXX_STD= gnu++11
 
 INSTALLATION_DIRS+=    bin share/applications share/pixmaps
 

Index: pkgsrc/emulators/mame/Makefile
diff -u pkgsrc/emulators/mame/Makefile:1.174 pkgsrc/emulators/mame/Makefile:1.175
--- pkgsrc/emulators/mame/Makefile:1.174        Sat Jul 29 19:42:10 2023
+++ pkgsrc/emulators/mame/Makefile      Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.174 2023/07/29 19:42:10 wiz Exp $
+# $NetBSD: Makefile,v 1.175 2023/08/02 19:27:31 nia Exp $
 
 DISTNAME=      mame-0.257
 CATEGORIES=    emulators
@@ -25,6 +25,9 @@ USE_TOOLS+=           gmake pkg-config
 UNLIMIT_RESOURCES+=    datasize virtualsize
 MAKE_FILE=             makefile
 
+# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
+FORCE_CXX_STD=         gnu++17
+
 .include "../../mk/bsd.prefs.mk"
 
 MAKE_FLAGS+=           PRECOMPILE=0
@@ -39,9 +42,6 @@ BUILDLINK_TRANSFORM+= rm:-m32
 BUILDLINK_TRANSFORM+=  rm:-m64
 .endif
 
-# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
-BUILDLINK_TRANSFORM+=  opt:-std=c++17:-std=gnu++17
-
 # -Werror is problematic
 MAKE_ENV+=     NOWERROR=1
 # on Darwin, avoid SDL2.framework

Index: pkgsrc/games/fallingtime/Makefile
diff -u pkgsrc/games/fallingtime/Makefile:1.15 pkgsrc/games/fallingtime/Makefile:1.16
--- pkgsrc/games/fallingtime/Makefile:1.15      Sat May  6 19:09:20 2023
+++ pkgsrc/games/fallingtime/Makefile   Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2023/05/06 19:09:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.16 2023/08/02 19:27:31 nia Exp $
 
 DISTNAME=      fallingtime-1.0.2
 PKGREVISION=   10
@@ -15,10 +15,10 @@ EXTRACT_USING=      bsdtar
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
-USE_LANGUAGES= gnu99 c++
+USE_LANGUAGES= c c++
 
 # Also needed for alloca(), c99 creeps in and overrides otherwise...
-BUILDLINK_TRANSFORM+=  opt:-std=c99:-std=gnu99
+FORCE_C_STD=   gnu99
 
 CMAKE_ARGS+=   -DINSTALL_PREFIX=${PREFIX}/libexec
 CMAKE_ARGS+=   -DINSTALL_DATA_PREFIX=${PREFIX}/share/fallingtime

Index: pkgsrc/games/openttd/Makefile
diff -u pkgsrc/games/openttd/Makefile:1.114 pkgsrc/games/openttd/Makefile:1.115
--- pkgsrc/games/openttd/Makefile:1.114 Tue Jul 18 18:13:44 2023
+++ pkgsrc/games/openttd/Makefile       Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2023/07/18 18:13:44 nia Exp $
+# $NetBSD: Makefile,v 1.115 2023/08/02 19:27:31 nia Exp $
 
 DISTNAME=      openttd-13.3-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -16,10 +16,13 @@ WRKSRC=             ${WRKDIR}/${PKGNAME_NOREV}
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-USE_CXX_FEATURES+=     charconv
+USE_CXX_FEATURES+=     c++17 charconv
 
 BUILD_DEFS+=   VARBASE
 
+# Uses alloca, cannot use standard C++ on NetBSD
+FORCE_CXX_STD=         gnu++17
+
 .include "../../mk/bsd.prefs.mk"
 
 CMAKE_ARGS+=   -DPERSONAL_DIR=.openttd
@@ -33,9 +36,6 @@ CMAKE_ARGS+=  -DCMAKE_DISABLE_FIND_PACKAG
 CMAKE_ARGS+=   -DCMAKE_DISABLE_FIND_PACKAGE_Grfcodec=ON
 CMAKE_ARGS+=   -DOPTION_INSTALL_FHS=ON
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++17:-std=gnu++17 # alloca
-BUILDLINK_TRANSFORM+=  opt:-std=c++1z:-std=gnu++1z # alloca
-
 PLIST_VARS=    unix
 .if ${OPSYS} != "Darwin"
 PLIST.unix=    yes

Index: pkgsrc/games/warzone2100/Makefile
diff -u pkgsrc/games/warzone2100/Makefile:1.72 pkgsrc/games/warzone2100/Makefile:1.73
--- pkgsrc/games/warzone2100/Makefile:1.72      Mon May 22 21:00:29 2023
+++ pkgsrc/games/warzone2100/Makefile   Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2023/05/22 21:00:29 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2023/08/02 19:27:31 nia Exp $
 
 DISTNAME=      warzone2100_src
 PKGNAME=       warzone2100-4.3.5
@@ -21,6 +21,9 @@ USE_TOOLS+=   msgfmt msgmerge xgettext
 
 TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
 
+# Needs gnu standard variant to get alloca builtin.
+FORCE_CXX_STD= gnu++11
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
@@ -46,9 +49,6 @@ LDFLAGS.DragonFly+=   -lX11 -lintl
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
-# Needs gnu standard variant to get alloca builtin.
-BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
-
 SUBST_CLASSES+=                rpath
 SUBST_MESSAGE.rpath=   Fixing linker arguments.
 SUBST_STAGE.rpath=     pre-configure

Index: pkgsrc/graphics/ptex/Makefile
diff -u pkgsrc/graphics/ptex/Makefile:1.2 pkgsrc/graphics/ptex/Makefile:1.3
--- pkgsrc/graphics/ptex/Makefile:1.2   Sat Dec  3 20:17:57 2016
+++ pkgsrc/graphics/ptex/Makefile       Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/12/03 20:17:57 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2023/08/02 19:27:31 nia Exp $
 
 DISTNAME=      ptex-2.1.28
 CATEGORIES=    graphics
@@ -13,11 +13,12 @@ LICENSE=    modified-bsd # with slightly ch
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++98:-std=gnu++98 # alloca(3)
-
 TEST_TARGET=   test
 
 TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/src/ptex/
 
+# Uses alloca, cannot use standard C++ on NetBSD.
+FORCE_CXX_STD= gnu++03
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/parallel/openmp/Makefile
diff -u pkgsrc/parallel/openmp/Makefile:1.16 pkgsrc/parallel/openmp/Makefile:1.17
--- pkgsrc/parallel/openmp/Makefile:1.16        Tue Jul 18 18:39:06 2023
+++ pkgsrc/parallel/openmp/Makefile     Wed Aug  2 19:27:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/07/18 18:39:06 nia Exp $
+# $NetBSD: Makefile,v 1.17 2023/08/02 19:27:31 nia Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -20,12 +20,13 @@ USE_TOOLS+=         perl pkg-config
 
 USE_CXX_FEATURES+=     c++14
 
+# Uses alloca, cannot use standard C++ on NetBSD.
+FORCE_CXX_STD=         gnu++14
+
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DOPENMP_ENABLE_LIBOMPTARGET=OFF
 CMAKE_ARGS+=   -DOPENMP_ENABLE_OMPT_TOOLS=OFF
 
-BUILDLINK_TRANSFORM.NetBSD+=   opt:-std=c++14:-std=gnu++14 # alloca
-
 post-extract:
        ${MKDIR} ${WRKDIR}/build
 

Index: pkgsrc/sysutils/WCMCommander/Makefile
diff -u pkgsrc/sysutils/WCMCommander/Makefile:1.5 pkgsrc/sysutils/WCMCommander/Makefile:1.6
--- pkgsrc/sysutils/WCMCommander/Makefile:1.5   Sun Jan 29 21:17:43 2023
+++ pkgsrc/sysutils/WCMCommander/Makefile       Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/01/29 21:17:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/02 19:27:32 nia Exp $
 
 DISTNAME=      WCMCommander-0.20.0
 PKGREVISION=   3
@@ -19,7 +19,7 @@ USE_TOOLS+=   gmake
 CMAKE_ARGS+=   -DWITH_SMBCLIENT:BOOL=OFF
 
 # Needs gnu for alloca builtin
-BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
+FORCE_CXX_STD= gnu++11
 
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../security/libssh2/buildlink3.mk"

Index: pkgsrc/sysutils/bacula-qt-console/Makefile
diff -u pkgsrc/sysutils/bacula-qt-console/Makefile:1.45 pkgsrc/sysutils/bacula-qt-console/Makefile:1.46
--- pkgsrc/sysutils/bacula-qt-console/Makefile:1.45     Sun Jan 29 21:17:43 2023
+++ pkgsrc/sysutils/bacula-qt-console/Makefile  Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2023/01/29 21:17:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.46 2023/08/02 19:27:32 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-qt-console-/}
 PKGREVISION=   1
@@ -11,7 +11,8 @@ USE_TOOLS+=           gmake pkg-config
 CONFIGURE_ARGS+=       --enable-client-only
 CONFIGURE_ARGS+=       --enable-bat
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++98:-std=gnu++98 # typeof
+# Uses typeof, cannot use standard c++03
+FORCE_CXX_STD=         gnu++03
 
 BUILD_DIRS=            src/qt-console
 

Index: pkgsrc/sysutils/bacula-tray-monitor/Makefile
diff -u pkgsrc/sysutils/bacula-tray-monitor/Makefile:1.54 pkgsrc/sysutils/bacula-tray-monitor/Makefile:1.55
--- pkgsrc/sysutils/bacula-tray-monitor/Makefile:1.54   Sun Jan 29 21:17:43 2023
+++ pkgsrc/sysutils/bacula-tray-monitor/Makefile        Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2023/01/29 21:17:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.55 2023/08/02 19:27:32 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-tray-monitor-/}
 PKGREVISION=   1
@@ -11,7 +11,8 @@ USE_TOOLS+=           gmake pkg-config
 CONFIGURE_ARGS+=       --enable-client-only
 CONFIGURE_ARGS+=       --enable-bat
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++98:-std=gnu++98 # typeof
+# Uses typeof, cannot use standard C++03
+FORCE_CXX_STD=         gnu++03
 
 BUILD_DIRS=            src/qt-console/tray-monitor
 

Index: pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile
diff -u pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile:1.23 pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile:1.24
--- pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile:1.23       Mon May 22 21:00:44 2023
+++ pkgsrc/sysutils/bacula-tray-monitor-qt5/Makefile    Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2023/05/22 21:00:44 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2023/08/02 19:27:32 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-tray-monitor-qt5-/}
 PKGREVISION=   5
@@ -11,7 +11,8 @@ USE_TOOLS+=           gmake pkg-config
 CONFIGURE_ARGS+=       --enable-client-only
 CONFIGURE_ARGS+=       --enable-bat
 
-BUILDLINK_TRANSFORM+=  opt:-std=c++98:-std=gnu++98 # typeof
+# Uses typeof, cannot use standard C++03
+FORCE_CXX_STD=         gnu++03
 
 BUILD_DIRS=            src/qt-console/tray-monitor
 

Index: pkgsrc/sysutils/lnav/Makefile
diff -u pkgsrc/sysutils/lnav/Makefile:1.26 pkgsrc/sysutils/lnav/Makefile:1.27
--- pkgsrc/sysutils/lnav/Makefile:1.26  Wed May 24 22:42:53 2023
+++ pkgsrc/sysutils/lnav/Makefile       Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2023/05/24 22:42:53 he Exp $
+# $NetBSD: Makefile,v 1.27 2023/08/02 19:27:32 nia Exp $
 
 DISTNAME=      lnav-0.11.1
 PKGREVISION=   2
@@ -13,12 +13,12 @@ COMMENT=    Log file navigator, an enhanced
 LICENSE=       2-clause-bsd
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c gnu++14
+USE_LANGUAGES= c c++
 USE_TOOLS+=    bash:build gmake
 
 # Force it -- configure thinks it can build with c++14
 # but the program uses alloca() so depends on the gnu feature set
-BUILDLINK_TRANSFORM+=  opt:-std=c++14:-std=gnu++14
+FORCE_CXX_STD= gnu++14
 
 GCC_REQD+=     8
 

Index: pkgsrc/www/snownews/Makefile
diff -u pkgsrc/www/snownews/Makefile:1.71 pkgsrc/www/snownews/Makefile:1.72
--- pkgsrc/www/snownews/Makefile:1.71   Wed Apr 19 08:11:51 2023
+++ pkgsrc/www/snownews/Makefile        Wed Aug  2 19:27:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2023/04/19 08:11:51 adam Exp $
+# $NetBSD: Makefile,v 1.72 2023/08/02 19:27:32 nia Exp $
 
 DISTNAME=      snownews-1.9
 PKGREVISION=   5
@@ -16,10 +16,12 @@ HAS_CONFIGURE=      yes
 FAKE_NCURSES=  yes
 USE_CURSES=    wide
 
+# PATH_MAX not visible with strict C11
+FORCE_C_STD=   gnu11
+
 LDFLAGS+=              ${BUILDLINK_LDADD.curses}
 LDFLAGS+=              ${BUILDLINK_LDADD.gettext}
 CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
-BUILDLINK_TRANSFORM+=  opt:-std=c11:-std=gnu11 # PATH_MAX not visible with strict C11
 
 USE_PKGLOCALEDIR=      yes
 



Home | Main Index | Thread Index | Old Index