Bug 185654 - games/xboard: drop usage of bsd.port.pre.mk and use options
games/xboard: drop usage of bsd.port.pre.mk and use options
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Johan van Selst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-11 03:20 UTC by jgh@FreeBSD.org
Modified: 2014-01-11 09:00 UTC (History)
0 users

See Also:


Attachments
file.diff (532 bytes, patch)
2014-01-11 03:20 UTC, jgh@FreeBSD.org
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jgh@FreeBSD.org freebsd_committer 2014-01-11 03:20:00 UTC
Use bsd.port.options.mk for testing arch, less expensive than using "pre"
Comment 1 Edwin Groothuis freebsd_committer 2014-01-11 03:20:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2014-01-11 08:49:38 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Johan van Selst freebsd_committer 2014-01-11 08:49:40 UTC
State Changed
From-To: open->closed

Now resolved by using BROKEN_sparc64 instead.