diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-06 15:53:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-06 15:53:05 +0000 |
commit | b5ce5fadd01879f8c1dad2f5ffba815323e1fec6 (patch) | |
tree | 1096c4907ae0d6a953ac6ff34198f06e0a0703d8 /games/fairymax | |
parent | 1e87c851621a7d8342431b2ac0521c634060587b (diff) | |
download | ports-b5ce5fadd01879f8c1dad2f5ffba815323e1fec6.tar.gz ports-b5ce5fadd01879f8c1dad2f5ffba815323e1fec6.zip |
Notes
Diffstat (limited to 'games/fairymax')
-rw-r--r-- | games/fairymax/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile index 997cff8be1e8..d8a8534c06a5 100644 --- a/games/fairymax/Makefile +++ b/games/fairymax/Makefile @@ -1,9 +1,5 @@ -# New ports collection Makefile for: fairymax -# Date created: 22 April 2011 -# Whom: Kalten <kalten@gmx.at> -# +# Created by: Kalten <kalten@gmx.at> # $FreeBSD$ -# PORTNAME= fairymax PORTVERSION= 4.8Q @@ -18,7 +14,8 @@ COMMENT= Chess engine for shatranj, courier chess, and others CONFLICTS= fairymax-4.8Q.[0-9]* fairymax-4.8Q.[0-9]*_[0-9]* -OPTIONS+= OCFLAGS "Use optimized compiler flags" on +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFAUTL= OPTIMIZED_CFLAGS DIST_SUBDIR= ${PORTNAME} @@ -40,10 +37,10 @@ MAKE_ARGS+= INI_FILE_fmax=${DATADIR}/fmax.ini \ .include <bsd.port.options.mk> -.if defined(WITHOUT_OCFLAGS) && !defined(WITH_OCFLAGS) -CFLAGS+= -.else +.if ! ${PORT_OPTIONS:MOCFLAGS} CFLAGS+= -O2 +.else +CFLAGS+= .endif post-patch: |