Date: Sun, 17 Jan 2021 23:32:21 +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: r561887 - head/audio/ncpamixer Message-ID: <202101172332.10HNWLUD012043@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sun Jan 17 23:32:21 2021 New Revision: 561887 URL: https://svnweb.freebsd.org/changeset/ports/561887 Log: audio/ncpamixer: use base ncurses where possible PR: 250836 Approved by: yuri (maintainer, previous version) Modified: head/audio/ncpamixer/Makefile (contents, props changed) Modified: head/audio/ncpamixer/Makefile ============================================================================== --- head/audio/ncpamixer/Makefile Sun Jan 17 23:19:56 2021 (r561886) +++ head/audio/ncpamixer/Makefile Sun Jan 17 23:32:21 2021 (r561887) @@ -2,6 +2,7 @@ PORTNAME= ncpamixer DISTVERSION= 1.3.3.1 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org @@ -12,15 +13,22 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio -USES= cmake compiler:c++17-lang ncurses:port +USES= cmake compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= fulhax WRKSRC_SUBDIR= src -CFLAGS+= -I${LOCALBASE}/include/ncurses # USES=ncurses:port fails to add this - PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.options.mk> + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 +USES+= ncurses +.else +USES+= ncurses:port +CFLAGS+= -I${LOCALBASE}/include/ncurses +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101172332.10HNWLUD012043>