aboutsummaryrefslogtreecommitdiff
path: root/editors/beav
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 18:17:02 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 18:17:02 +0000
commit4a934e1995864e0e7020bcbbe20ce9113192ca65 (patch)
tree06300751c8cb0348b171a666aa31cbe31069f472 /editors/beav
parente4c974a0356ba9b6daa5289112f308562054d0e8 (diff)
Notes
Diffstat (limited to 'editors/beav')
-rw-r--r--editors/beav/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/beav/Makefile b/editors/beav/Makefile
index e4a82a1d6faf..97e31ab6d021 100644
--- a/editors/beav/Makefile
+++ b/editors/beav/Makefile
@@ -15,15 +15,16 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary Editor And Viewer, a full featured binary file editor
+USES= ncurses
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S/.//}
-
ALL_TARGET= beav
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DUNIX -DBSD -DNOPROTO"
OPTIONS_DEFINE= DOCS
post-patch:
- @${REINPLACE_CMD} -e 's|(OFILES):|$$(OFILES):|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|(OFILES):|$$(OFILES):|' \
+ -e 's|-lncurses|${LDFLAGS} -lncurses|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/beav.1
do-install: