diff options
author | rafan <rafan@FreeBSD.org> | 2008-11-07 09:43:07 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-11-07 09:43:07 +0800 |
commit | ea348b12c6249b9599fff55e3a99445a1b20feb7 (patch) | |
tree | 39ea5fcc264dac39e130b50f6ec80ee1bb990c21 /audio | |
parent | 15e2a5361ecd98a4db7a9dc0ca5e51fa76029586 (diff) | |
download | freebsd-ports-gnome-ea348b12c6249b9599fff55e3a99445a1b20feb7.tar.gz freebsd-ports-gnome-ea348b12c6249b9599fff55e3a99445a1b20feb7.tar.zst freebsd-ports-gnome-ea348b12c6249b9599fff55e3a99445a1b20feb7.zip |
- 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 <adox at mcx2.org> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ncmpcpp/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 <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 \ |