From owner-svn-ports-head@freebsd.org Sun Jan 17 23:32:22 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2ECED4DB565; Sun, 17 Jan 2021 23:32:22 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJrmk0vYdz4g0q; Sun, 17 Jan 2021 23:32:22 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12539203C; Sun, 17 Jan 2021 23:32:22 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10HNWLJs012044; Sun, 17 Jan 2021 23:32:21 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10HNWLUD012043; Sun, 17 Jan 2021 23:32:21 GMT (envelope-from swills@FreeBSD.org) Message-Id: <202101172332.10HNWLUD012043@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 17 Jan 2021 23:32:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561887 - head/audio/ncpamixer X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/audio/ncpamixer X-SVN-Commit-Revision: 561887 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 23:32:22 -0000 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 + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 +USES+= ncurses +.else +USES+= ncurses:port +CFLAGS+= -I${LOCALBASE}/include/ncurses +.endif .include