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:
parent
0a91065b7c
commit
ab71ff83d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463421
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user