From 3687eb5a1191968b6660f262786536dda15898d7 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Fri, 7 Nov 2008 01:43:07 +0000 Subject: - Make ncurses dependency optional, bump PORTREVISION since people on recent FreeBSD (since 1.5 years ago) have a dependency change. PR: ports/128627 Submitted by: rafan Approved by: Dennis Herrmann (maintainer) --- audio/ncmpcpp/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'audio/ncmpcpp') diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile index 2f7b29179d81..e2b753f62e1e 100644 --- a/audio/ncmpcpp/Makefile +++ b/audio/ncmpcpp/Makefile @@ -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 @@ MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \ 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 @@ OPTIONS= CURL "Enable fetching lyrics from the Internet" on \ .include +.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) +LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses +.endif + PLIST_FILES= bin/ncmpcpp \ %%DOCSDIR%%/config \ %%DOCSDIR%%/keys \ -- cgit