1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00
Niclas Zeising a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00

41 lines
904 B
Makefile

# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= esh
PORTVERSION= 0.8.5
PORTREVISION= 4
CATEGORIES= shells
MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= The "easy shell", a small shell with Lisp-like syntax
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= ncurses readline
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
LIB="${LDFLAGS} -lreadline -lncurses"
INFO= esh
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
post-patch:
@${REINPLACE_CMD} -e \
's|<readline.h>|<readline/readline.h>| ; \
s|<history.h>|<readline/history.h>|' ${WRKSRC}/read-rl.c
pre-build:
@(cd ${WRKSRC} && ${MAKE} clean)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/esh ${STAGEDIR}${PREFIX}/bin/esh
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>