Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 20:05:58 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561866 - head/audio/mixertui
Message-ID:  <202101172005.10HK5wTB084380@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 17 20:05:57 2021
New Revision: 561866
URL: https://svnweb.freebsd.org/changeset/ports/561866

Log:
  audio/mixertui: allow base ncurses where appropriate
  
  PR:		250835
  Approved by:	Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)

Modified:
  head/audio/mixertui/Makefile   (contents, props changed)

Modified: head/audio/mixertui/Makefile
==============================================================================
--- head/audio/mixertui/Makefile	Sun Jan 17 20:01:49 2021	(r561865)
+++ head/audio/mixertui/Makefile	Sun Jan 17 20:05:57 2021	(r561866)
@@ -2,7 +2,7 @@
 
 PORTNAME=	mixertui
 DISTVERSION=	1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 
 MAINTAINER=	alfix86@gmail.com
@@ -13,7 +13,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libsysctlmibinfo2.so:devel/libsysctlmibinfo2
 
-USES=		ncurses:port
 USE_GITLAB=	yes
 
 GL_ACCOUNT=	alfix
@@ -25,5 +24,13 @@ PLIST_FILES=	sbin/${PORTNAME} \
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
+USES+=          ncurses
+.else
+USES+=          ncurses:port
+.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101172005.10HK5wTB084380>