aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 20:58:58 +0800
committermarino <marino@FreeBSD.org>2016-02-07 20:58:58 +0800
commit0591be312080ae224b04635dcb22e175e0d17ccc (patch)
tree70bafa4085bd31fbb6738e034fa657f105e2af26 /audio/ksmp3play
parentbe2c4c57e9d5bca7a99ae42635813e4f5dd49fcf (diff)
downloadfreebsd-ports-gnome-0591be312080ae224b04635dcb22e175e0d17ccc.tar.gz
freebsd-ports-gnome-0591be312080ae224b04635dcb22e175e0d17ccc.tar.zst
freebsd-ports-gnome-0591be312080ae224b04635dcb22e175e0d17ccc.zip
audio/ksmp3play: USES+= ncurses, link with ncurses (not curses)
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}