Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->bdrewery bdrewery@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Including bsd.port.pre.mk requires changing the bsd.port.mk line to be bsd.port.post.mk. Otherwise it breaks the i386 build: > viruskiller-1.03_3: Makefile error: you cannot include bsd.port[.pre].mk twice Another option is to use bsd.port.options.mk instead of bsd.port.pre.mk, which does not require using bsd.port.post.mk. I'll commit it with bsd.options.mk. Also, DOCS is already default so it's not needed to add to OPTIONS_DEFAULT. Bryan
Author: bdrewery Date: Thu May 16 13:55:51 2013 New Revision: 318316 URL: http://svnweb.freebsd.org/changeset/ports/318316 Log: - Mark broken on amd64 - Convert to new options framework PR: ports/178636 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer) Modified: head/games/viruskiller/Makefile Modified: head/games/viruskiller/Makefile ============================================================================== --- head/games/viruskiller/Makefile Thu May 16 13:53:13 2013 (r318315) +++ head/games/viruskiller/Makefile Thu May 16 13:55:51 2013 (r318316) @@ -13,6 +13,8 @@ COMMENT= Arcade game that relies on quic LICENSE= GPLv2 +OPTIONS_DEFINE= DOCS + USE_SDL= mixer image ttf net USE_GMAKE= yes @@ -22,11 +24,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER MAKEFILE= makefile +.include <bsd.port.options.mk> + +.if ${ARCH} == "amd64" +BROKEN= Does not build with new libz +.endif + post-patch: # Remove non-free restricted files: ${RM} -f ${WRKSRC}/music/* ${WRKSRC}/sound/* -.if defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e "s|^.*install.*DOCS.*||g" \ -e "s|^.*mkdir.*DOCDIR.*||g" \ ${WRKSRC}/makefile _______________________________________________ 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"
State Changed From-To: open->closed Committed, with minor changes. Thanks!