aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-27 23:58:14 +0800
committerbapt <bapt@FreeBSD.org>2013-05-27 23:58:14 +0800
commitaa1b1f72013db1d0a08d2bf29919bf3edcba514f (patch)
tree07f7c1ca0bd17a00e1da5935e598f2b682069bf7 /games
parenta4747c47e7cce3b16219d9e9ef573dfb9ac1a851 (diff)
downloadfreebsd-ports-gnome-aa1b1f72013db1d0a08d2bf29919bf3edcba514f.tar.gz
freebsd-ports-gnome-aa1b1f72013db1d0a08d2bf29919bf3edcba514f.tar.zst
freebsd-ports-gnome-aa1b1f72013db1d0a08d2bf29919bf3edcba514f.zip
Fix build on HEAD by adding USE_GCC=any (uses nested functions)
Diffstat (limited to 'games')
-rw-r--r--games/rubix/Makefile11
1 files 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 <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}