Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2016 11:17:44 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r419509 - branches/2016Q3/sysutils/showbeastie
Message-ID:  <201608031117.u73BHieA038044@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Wed Aug  3 11:17:44 2016
New Revision: 419509
URL: https://svnweb.freebsd.org/changeset/ports/419509

Log:
  MFH: r419508
  
  - Fix build on FreeBSD 11.0/i386 and HEAD.
  - Mark BROKEN on 9.3
  - We have no MASTER_SITES and no DISTFILES. Therefore these are empty.
  
  PR:	211321
  Submitted by:	Tobias Kortkamp (maintainer)
  Reviewed by:	junovitch (mentor)
  Approved by:	junovitch (mentor)
  
  Approved by:	ports-secteam (build fix blanket)

Modified:
  branches/2016Q3/sysutils/showbeastie/Makefile
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/sysutils/showbeastie/Makefile
==============================================================================
--- branches/2016Q3/sysutils/showbeastie/Makefile	Wed Aug  3 11:13:30 2016	(r419508)
+++ branches/2016Q3/sysutils/showbeastie/Makefile	Wed Aug  3 11:17:44 2016	(r419509)
@@ -4,8 +4,8 @@
 PORTNAME=	showbeastie
 PORTVERSION=	0.2
 CATEGORIES=	sysutils
-MASTER_SITES=
-DISTFILES=
+MASTER_SITES=	# none
+DISTFILES=	# none
 
 MAINTAINER=	t@tobik.me
 COMMENT=	Preview FreeBSD loader logos
@@ -25,6 +25,8 @@ PLIST_FILES=	bin/${PORTNAME}
 # Make sure building succeeds on HEAD
 MAKE_ARGS+=	-m ${SRC_BASE}/share/mk
 
+BROKEN_FreeBSD_9=	builds but expects newer loader environment
+
 pre-patch:
 	@${MKDIR} ${WRKSRC}
 	@${TAR} -C ${SRC_BASE}/sys/boot/ficl \
@@ -35,6 +37,10 @@ post-patch:
 	${REINPLACE_CMD} 's|-I.*/\.\./common|-I${SRC_BASE}/sys/boot/common|g' \
 		${WRKSRC}/Makefile
 
+# 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
+
 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?201608031117.u73BHieA038044>