diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-02-25 12:35:55 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-02-25 12:35:55 +0000 |
commit | 41d69eb5545cd77d75b59e76956ba1bb5397120b (patch) | |
tree | 68e64a9b7baf6c05415b058276756742ab5ed508 /x11/foot | |
parent | x11/foot: expose terminfo support on -CURRENT (diff) |
x11/foot: simplify terminfo support
- Make post-patch unconditional as it's nop on FreeBSD < 14
- Switch = to += to allow additions outside the conditional
Notes
Notes:
svn path=/head/; revision=566530
Diffstat (limited to 'x11/foot')
-rw-r--r-- | x11/foot/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/foot/Makefile b/x11/foot/Makefile index 4e6c50de92dd..bb6a1788e6b3 100644 --- a/x11/foot/Makefile +++ b/x11/foot/Makefile @@ -27,13 +27,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .if exists(/usr/bin/tic) PKGMESSAGE= ${NONEXISTENT} -PLIST_FILES= share/site-terminfo/f/${PORTNAME} \ +PLIST_FILES+= share/site-terminfo/f/${PORTNAME} \ share/site-terminfo/f/${PORTNAME}-direct -post-patch: terminfo-patch -terminfo-patch: - @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build .else -MESON_ARGS= -Dterminfo=disabled +MESON_ARGS+= -Dterminfo=disabled .endif +post-patch: +# Chase default TERMINFO_DIRS on FreeBSD, see lib/ncurses/ncurses/ncurses_cfg.h + @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build + .include <bsd.port.mk> |