Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 11:00:53 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        adox@mcx2.org
Subject:   ports/128627: [PATCH] audio/ncmpcpp: make ncurses dependency optional
Message-ID:  <200811060300.mA630rFE098112@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200811060340.mA63e1LA084882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128627
>Category:       ports
>Synopsis:       [PATCH] audio/ncmpcpp: make ncurses dependency optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 06 03:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
We have up-to-date ncurses with widec support in base, so make devel/ncurses
dependency optional.

Port maintainer (adox@mcx2.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ncmpcpp-0.2.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/ncmpcpp/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	17 Oct 2008 19:10:13 -0000	1.5
+++ Makefile	6 Nov 2008 02:56:03 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ncmpcpp
 PORTVERSION=	0.2.4
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://unkart.ovh.org/ncmpcpp/ \
 		http://mirror.mcx2.org/
@@ -14,8 +15,6 @@
 MAINTAINER=	adox@mcx2.org
 COMMENT=	A ncurses mpd client, clone of ncmpc with some new features
 
-LIB_DEPENDS=	ncursesw.5:${PORTSDIR}/devel/ncurses
-
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_ICONV=	yes
@@ -29,6 +28,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
+LIB_DEPENDS+=	ncursesw.5:${PORTSDIR}/devel/ncurses
+.endif
+
 PLIST_FILES=	bin/ncmpcpp \
 		%%DOCSDIR%%/config \
 		%%DOCSDIR%%/keys \
--- ncmpcpp-0.2.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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