svn commit: r408439 - head/devel/hexcompare
John Marino
marino at FreeBSD.org
Sun Feb 7 18:29:00 UTC 2016
Author: marino
Date: Sun Feb 7 18:28:58 2016
New Revision: 408439
URL: https://svnweb.freebsd.org/changeset/ports/408439
Log:
devel/hexcompare: document ncurses rqmt (USES+=ncurses), respect LD/CFLAGS
Also link with ncurses, not curses.
approved by: infrastructure blanket
Modified:
head/devel/hexcompare/Makefile
Modified: head/devel/hexcompare/Makefile
==============================================================================
--- head/devel/hexcompare/Makefile Sun Feb 7 18:26:54 2016 (r408438)
+++ head/devel/hexcompare/Makefile Sun Feb 7 18:28:58 2016 (r408439)
@@ -12,10 +12,13 @@ COMMENT= Compare and identify difference
LICENSE= GPLv3
+USES= ncurses
PLIST_FILES= bin/hexcompare
post-patch:
- ${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-lncurses|$$(CFLAGS) $$(LDFLAGS) -lncurses|' \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list