svn commit: r463421 - head/sysutils/showbeastie
Tobias Kortkamp
tobik at FreeBSD.org
Fri Mar 2 17:44:01 UTC 2018
Author: tobik
Date: Fri Mar 2 17:44:00 2018
New Revision: 463421
URL: https://svnweb.freebsd.org/changeset/ports/463421
Log:
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
^
Modified:
head/sysutils/showbeastie/Makefile
Modified: head/sysutils/showbeastie/Makefile
==============================================================================
--- head/sysutils/showbeastie/Makefile Fri Mar 2 17:42:01 2018 (r463420)
+++ head/sysutils/showbeastie/Makefile Fri Mar 2 17:44:00 2018 (r463421)
@@ -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}
More information about the svn-ports-head
mailing list