Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 15:58:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319263 - head/games/rubix
Message-ID:  <201305271558.r4RFwEIn055174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon May 27 15:58:14 2013
New Revision: 319263
URL: http://svnweb.freebsd.org/changeset/ports/319263

Log:
  Fix build on HEAD by adding USE_GCC=any (uses nested functions)

Modified:
  head/games/rubix/Makefile

Modified: head/games/rubix/Makefile
==============================================================================
--- head/games/rubix/Makefile	Mon May 27 15:56:54 2013	(r319262)
+++ head/games/rubix/Makefile	Mon May 27 15:58:14 2013	(r319263)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	rubix
-# Date created:		19 Nov 1999
-# Whom:			Will Andrews <andrews@technologist.com>
-#
+# Created by: Will Andrews <andrews@technologist.com>
 # $FreeBSD$
-#
 
 PORTNAME=	rubix
 PORTVERSION=	1.0.6
@@ -20,15 +16,18 @@ USE_XORG=	x11
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
 		XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
 ALL_TARGET=	${PORTNAME}
+USE_GCC=	any
 
 PORTDOCS=	${DOCFILES}
 PLIST_FILES=	bin/rubix
 
 DOCFILES=	AUTHORS BUGS INSTALL README TODO
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCFILES}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}



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