aboutsummaryrefslogtreecommitdiff
path: root/audio/mixertui
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2021-01-17 20:05:57 +0000
committerSteve Wills <swills@FreeBSD.org>2021-01-17 20:05:57 +0000
commit992884a87ffebe403813c7514d7a2de2e7137b96 (patch)
treefbacd62be768bf19e2bd9593c3d803c3a4f7bcfb /audio/mixertui
parent4edef1c1f25a165a09a6eb2d551470cccaaa7aa5 (diff)
downloadports-992884a87ffebe403813c7514d7a2de2e7137b96.tar.gz
ports-992884a87ffebe403813c7514d7a2de2e7137b96.zip
audio/mixertui: allow base ncurses where appropriate
PR: 250835 Approved by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=561866
Diffstat (limited to 'audio/mixertui')
-rw-r--r--audio/mixertui/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/mixertui/Makefile b/audio/mixertui/Makefile
index 5e996bd53218..10172ec96dc7 100644
--- a/audio/mixertui/Makefile
+++ b/audio/mixertui/Makefile
@@ -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
@@ -26,4 +25,12 @@ 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>