mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
5a0ee1f89c
This is a GNU grep specific switch that was disabled in March 2010 (~version 2.6) and finally removed in version 2.17 (Feb 2014). It's still supported in the base grep, but the man page talks about possible core dumps. DragonFly has grep v2.20 in base now and the port stopped building. Just remove the deprecated/EOL'd option.
37 lines
855 B
Makefile
37 lines
855 B
Makefile
# Created by: Mikhail Teterin
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libstocks
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= finance devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= C library which can be used to fetch stocks quotes
|
|
|
|
USE_LDCONFIG= yes
|
|
REINPLACE_ARGS= -i ""
|
|
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
|
|
MAKE_ENV+= STAGEDIR="${STAGEDIR}"
|
|
USES= uidfix
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
|
|
-e 's/__UNIX__/__unix__/' \
|
|
$$(${GREP} -El '<malloc.h>|__UNIX__' \
|
|
${WRKSRC}/lib/*.c); \
|
|
|
|
do-build do-install:
|
|
.for d in lib client
|
|
cd ${WRKSRC}/$d && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} -j2 \
|
|
-f ${FILESDIR}/Makefile.$d ${.TARGET:S/do-//}
|
|
.endfor
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|