Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 13:18:31 +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: r408405 - head/audio/stymulator
Message-ID:  <201602071318.u17DIVho070898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb  7 13:18:31 2016
New Revision: 408405
URL: https://svnweb.freebsd.org/changeset/ports/408405

Log:
  audio/stymulator: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  approved by:	infrastructure blanket

Modified:
  head/audio/stymulator/Makefile

Modified: head/audio/stymulator/Makefile
==============================================================================
--- head/audio/stymulator/Makefile	Sun Feb  7 13:16:27 2016	(r408404)
+++ head/audio/stymulator/Makefile	Sun Feb  7 13:18:31 2016	(r408405)
@@ -14,7 +14,7 @@ COMMENT=	Command-line Yamaha YM2149 (.ym
 
 LICENSE=	GPLv2
 
-USES=		dos2unix
+USES=		dos2unix ncurses
 MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
@@ -23,6 +23,10 @@ MANPAGE1=	ymplayer.1 ym2wav.1
 PLIST_FILES=	bin/ym2wav bin/ymplayer bin/stymulator man/man1/ymplayer.1.gz \
 		man/man1/ym2wav.1.gz
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lncurses|$$(LDFLAGS) -lncurses|' \
+		${WRKSRC}/Makefile
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ym2wav ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/ymplayer ${STAGEDIR}${PREFIX}/bin



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