aboutsummaryrefslogtreecommitdiff
path: root/devel/hexcompare
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 18:28:58 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 18:28:58 +0000
commit4282978bb5a07261a847c3028ef8bd16525446ba (patch)
treeb77719d0200523e7eb3d963a8374330b0e4fd367 /devel/hexcompare
parentb87071dfde49f1e094a381a8ba349d47a146f926 (diff)
Notes
Diffstat (limited to 'devel/hexcompare')
-rw-r--r--devel/hexcompare/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/hexcompare/Makefile b/devel/hexcompare/Makefile
index 8467918be2d4..3b0cecd8b05a 100644
--- a/devel/hexcompare/Makefile
+++ b/devel/hexcompare/Makefile
@@ -12,10 +12,13 @@ COMMENT= Compare and identify differences between two binary files
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