Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 18:28: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: r408439 - head/devel/hexcompare
Message-ID:  <201602071828.u17ISw9k065048@repo.freebsd.org>

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



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