diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-13 00:35:45 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-13 00:35:45 +0800 |
commit | b0ad879e3e23b8ba6d75396d593d1bba436ffed6 (patch) | |
tree | 8b078441d20301eb3b13f3b6b3a374c4688468a4 /games/exmars | |
parent | 624c78988bf68a8f633b795635f8ba4b2fffed13 (diff) | |
download | freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.gz freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.zst freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.zip |
Convert to new options framework
Diffstat (limited to 'games/exmars')
-rw-r--r-- | games/exmars/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/exmars/Makefile b/games/exmars/Makefile index 1bb57e4dac77..a1d8fa1e7b95 100644 --- a/games/exmars/Makefile +++ b/games/exmars/Makefile @@ -17,7 +17,8 @@ COMMENT= Memory Array Redcode Simulator, just like exhaust and pMARS REINPLACE_ARGS= -i '' ALL_TARGET= ${PORTNAME} -OPTIONS= OPTIMIZED_CFLAGS "Enable compilaton optimizations (>= 5.X)" on +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS do-install: # Program. @@ -54,7 +55,7 @@ post-patch: @${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE} # Enable/disable compilation optimizations. -.if defined(WITHOUT_OPTIMIZED_CFLAGS) +.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) @${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE} .endif |