svn commit: r561866 - head/audio/mixertui
Steve Wills
swills at FreeBSD.org
Sun Jan 17 20:05:58 UTC 2021
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 at 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 at 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>
More information about the svn-ports-all
mailing list