Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2018 17:44:00 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463421 - head/sysutils/showbeastie
Message-ID:  <201803021744.w22Hi0Sb022500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803021744.w22Hi0Sb022500>