ports/128627: [PATCH] audio/ncmpcpp: make ncurses dependency optional
Rong-En Fan
rafan at FreeBSD.org
Thu Nov 6 03:40:03 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list