pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/syncterm



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 16 16:56:49 UTC 2026

Modified Files:
        pkgsrc/comms/syncterm: Makefile options.mk

Log Message:
syncterm: Various build fixes.

Put the curses library requirements BEFORE curses.mk is included,
that way the right stuff is selected.

Update the C compiler requirement. It requires c17 (although it
compiles fine with c11 when forced to do so).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/comms/syncterm/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/syncterm/options.mk

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

Modified files:

Index: pkgsrc/comms/syncterm/Makefile
diff -u pkgsrc/comms/syncterm/Makefile:1.17 pkgsrc/comms/syncterm/Makefile:1.18
--- pkgsrc/comms/syncterm/Makefile:1.17 Sun May 10 06:06:05 2026
+++ pkgsrc/comms/syncterm/Makefile      Tue Jun 16 16:56:49 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2026/05/10 06:06:05 vins Exp $
+# $NetBSD: Makefile,v 1.18 2026/06/16 16:56:49 nia Exp $
 
 DISTNAME=      syncterm-1.8-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -19,7 +19,9 @@ USE_LANGUAGES=        c c++
 USE_TOOLS+=    gmake gzip perl:build
 USE_TOOLS+=    pkg-config sed
 
-USE_CC_FEATURES=       c11
+# seems to actually compile fine with FORCE_C_STD=c11,
+# but their choice is to use -std=c17...
+USE_CC_FEATURES=       c17
 
 PTHREAD_AUTO_VARS=     yes
 BUILDLINK_TRANSFORM+=  rm:-lpthread

Index: pkgsrc/comms/syncterm/options.mk
diff -u pkgsrc/comms/syncterm/options.mk:1.3 pkgsrc/comms/syncterm/options.mk:1.4
--- pkgsrc/comms/syncterm/options.mk:1.3        Sun Oct 12 06:01:33 2025
+++ pkgsrc/comms/syncterm/options.mk    Tue Jun 16 16:56:49 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2025/10/12 06:01:33 vins Exp $
+# $NetBSD: options.mk,v 1.4 2026/06/16 16:56:49 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.syncterm
 PKG_OPTIONS_NONEMPTY_SETS=     display sound
@@ -30,9 +30,9 @@ MAKE_FLAGS+=  WITHOUT_ALSA_SOUND=yes
 ## Choose the right curses library based on CURSES_TYPE.
 ##
 .if !empty(PKG_OPTIONS:Mcurses)
-.  include "../../mk/curses.buildlink3.mk"
 USE_CURSES=    getmouse halfdelay wide
 FAKE_NCURSES=  yes
+.  include "../../mk/curses.buildlink3.mk"
 .  if !${CURSES_TYPE:M*ncurses*}
 CFLAGS+=       -DUSE_SYSTEM_CURSES
 .  else



Home | Main Index | Thread Index | Old Index