Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 12:58:58 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408394 - head/audio/ksmp3play
Message-ID:  <201602071258.u17CwwKZ064014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071258.u17CwwKZ064014>