pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/tmux



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jun 28 21:00:19 UTC 2023

Modified Files:
        pkgsrc/misc/tmux: Makefile

Log Message:
tmux: fix build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/misc/tmux/Makefile

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

Modified files:

Index: pkgsrc/misc/tmux/Makefile
diff -u pkgsrc/misc/tmux/Makefile:1.61 pkgsrc/misc/tmux/Makefile:1.62
--- pkgsrc/misc/tmux/Makefile:1.61      Sat Jul 23 19:05:47 2022
+++ pkgsrc/misc/tmux/Makefile   Wed Jun 28 21:00:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2022/07/23 19:05:47 leot Exp $
+# $NetBSD: Makefile,v 1.62 2023/06/28 21:00:19 wiz Exp $
 
 DISTNAME=      tmux-3.3a
 CATEGORIES=    misc
@@ -23,15 +23,19 @@ SUBST_FILES.sysconfdir=             configure confi
 SUBST_SED.sysconfdir=          -e '/Default tmux\.conf goes in \/etc/d'
 SUBST_SED.sysconfdir+=         -e '/sysconfdir=\/etc/d'
 
+# tmux expects setupterm in libcurses, but it is in libterminfo
+CONFIGURE_ARGS+=       ac_cv_lib_curses_setupterm=yes
+LDFLAGS.NetBSD+=       -lterminfo
+
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
-.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \
-    !empty(CC_VERSION:Mgcc-4.[6-9].*)
+.if ${MACHINE_PLATFORM:MSunOS-5.1[0-9]-*} && \
+    ${CC_VERSION:Mgcc-4.[6-9].*}
 BUILDLINK_TRANSFORM+=  opt:-D_XPG4_2:-D_XPG6
 .endif
 
 # https://trac.macports.org/changeset/127986
-.if !empty(MACHINE_PLATFORM:MDarwin-1[0-9].*)
+.if ${MACHINE_PLATFORM:MDarwin-1[0-9].*}
 CPPFLAGS+=     -D__DARWIN_VERS_1050=0
 .endif
 



Home | Main Index | Thread Index | Old Index