From c12574118d7e6a0c4b810ef52adf03ffc79ca6ae Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 27 May 2013 15:58:14 +0000 Subject: [PATCH] Fix build on HEAD by adding USE_GCC=any (uses nested functions) --- games/rubix/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/games/rubix/Makefile b/games/rubix/Makefile index e30a76597c2c..c1b789348949 100644 --- a/games/rubix/Makefile +++ b/games/rubix/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: rubix -# Date created: 19 Nov 1999 -# Whom: Will Andrews -# +# Created by: Will Andrews # $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 + 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}