1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

sysutils/showbeastie: Fix build after base r329859

In file included from ficl.c:61:
/usr/include/stdlib.h:89:1: error: unknown type name 'jagged'
double   atof(const char *);
^
<command line>:2:16: note: expanded from here
#define double jagged-little-pill
               ^
This commit is contained in:
Tobias Kortkamp 2018-03-02 17:44:00 +00:00
parent 0a91065b7c
commit ab71ff83d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463421

View File

@ -45,12 +45,14 @@ pre-patch:
-cf - . | ${TAR} -C ${WRKSRC}/.. -xf -
post-patch:
${REINPLACE_CMD} 's|-I.*/\.\./common|-I${SRC_STAND}/common|g' \
@${REINPLACE_CMD} 's|-I.*/\.\./common|-I${SRC_STAND}/common|g' \
${WRKSRC}/Makefile
@if [ -f "${WRKSRC}/../defs.mk" ]; then \
${REINPLACE_CMD} '/jagged-little-pill/d' ${WRKSRC}/../defs.mk \
; fi
# Make sure building on FreeBSD 11.0/i386 works. Calls to biospci_* are not
# needed for this program.
${REINPLACE_CMD} 's|ifdef __i386__|if 0|g' ${WRKSRC}/loader.c
@${REINPLACE_CMD} 's|ifdef __i386__|if 0|g' ${WRKSRC}/loader.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/testmain ${STAGEDIR}${PREFIX}/bin/${PORTNAME}