summaryrefslogtreecommitdiff
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 12:58:58 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 12:58:58 +0000
commit49f9ef0bb5e57026951efc6d7f010e4a84a3bd5a (patch)
tree70bafa4085bd31fbb6738e034fa657f105e2af26 /audio/ksmp3play
parentaudio/juke: USES+= ncurses (diff)
audio/ksmp3play: USES+= ncurses, link with ncurses (not curses)
Notes
Notes: svn path=/head/; revision=408394
Diffstat (limited to 'audio/ksmp3play')
-rw-r--r--audio/ksmp3play/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile
index 5dd2bcb6a8be..7cd2d2abfcbd 100644
--- a/audio/ksmp3play/Makefile
+++ b/audio/ksmp3play/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
GNU_CONFIGURE= yes
-USES= pathfix
+USES= ncurses pathfix
USE_SDL= sdl
NO_WRKSUBDIR= yes
EXTRACT_AFTER_ARGS= --exclude CVS
@@ -26,6 +26,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
+post-patch:
+ ${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}