svn commit: r408405 - head/audio/stymulator

John Marino marino at FreeBSD.org
Sun Feb 7 13:18:33 UTC 2016


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


More information about the svn-ports-all mailing list