svn commit: r319263 - head/games/rubix

Baptiste Daroussin bapt at FreeBSD.org
Mon May 27 15:58:14 UTC 2013


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 at technologist.com>
-#
+# Created by: Will Andrews <andrews at 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}


More information about the svn-ports-head mailing list