Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 08:49:32 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339407 - head/games/xboard
Message-ID:  <201401110849.s0B8nWcr058462@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Jan 11 08:49:31 2014
New Revision: 339407
URL: http://svnweb.freebsd.org/changeset/ports/339407

Log:
  - Use BROKEN_sparc64 and avoid <bsd.port.pre.mk>
  
  PR:		ports/185654
  Submitted by:	jgh

Modified:
  head/games/xboard/Makefile

Modified: head/games/xboard/Makefile
==============================================================================
--- head/games/xboard/Makefile	Sat Jan 11 08:29:45 2014	(r339406)
+++ head/games/xboard/Makefile	Sat Jan 11 08:49:31 2014	(r339407)
@@ -41,11 +41,7 @@ DATADIR=	${PREFIX}/share/games/${PORTNAM
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README SHORTLOG TODO
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN=	Does not install on sparc64
-.endif
+BROKEN_sparc64=	Does not install on sparc64
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/fairymax/gnuchessx/' ${WRKSRC}/xboard.conf.in
@@ -54,6 +50,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's:INSTALL.*sysconfdir):&/$$$$files.dist:' \
 		${WRKSRC}/Makefile.in
 
+.include <bsd.port.options.mk>
+
 post-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/cmail ${STAGEDIR}${PREFIX}/bin/
 	@${CP} -pn ${STAGEDIR}${PREFIX}/etc/xboard.conf.dist \
@@ -63,4 +61,4 @@ post-install:
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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