svn commit: r408394 - head/audio/ksmp3play

John Marino marino at FreeBSD.org
Sun Feb 7 12:58:59 UTC 2016


Author: marino
Date: Sun Feb  7 12:58:58 2016
New Revision: 408394
URL: https://svnweb.freebsd.org/changeset/ports/408394

Log:
  audio/ksmp3play: USES+= ncurses, link with ncurses (not curses)

Modified:
  head/audio/ksmp3play/Makefile

Modified: head/audio/ksmp3play/Makefile
==============================================================================
--- head/audio/ksmp3play/Makefile	Sun Feb  7 12:57:46 2016	(r408393)
+++ head/audio/ksmp3play/Makefile	Sun Feb  7 12:58:58 2016	(r408394)
@@ -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}


More information about the svn-ports-all mailing list