aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-04-25 04:58:17 +0800
committeralepulver <alepulver@FreeBSD.org>2006-04-25 04:58:17 +0800
commit3247e19844dd8fab1660c97f4c71e922e1fb212e (patch)
tree5ccf208d2a0bfe8f922df9422a82cbce74ee2d2a /games
parentdfbbfc050ddb92192cd80603728d225d5b6eadd0 (diff)
downloadfreebsd-ports-gnome-3247e19844dd8fab1660c97f4c71e922e1fb212e.tar.gz
freebsd-ports-gnome-3247e19844dd8fab1660c97f4c71e922e1fb212e.tar.zst
freebsd-ports-gnome-3247e19844dd8fab1660c97f4c71e922e1fb212e.zip
- Remove USE_REINPLACE.
- Format tabs. Approved by: garga (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/abe/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/games/abe/Makefile b/games/abe/Makefile
index e63442a846e3..297aa3e00f36 100644
--- a/games/abe/Makefile
+++ b/games/abe/Makefile
@@ -35,20 +35,18 @@ post-install:
.include <bsd.port.pre.mk>
.if defined(WITH_GOD_MODE) || defined(WITHOUT_OPTIMIZED_CFLAGS)
-USE_REINPLACE= yes
-
post-patch:
-. if defined(WITH_GOD_MODE)
+. if defined(WITH_GOD_MODE)
@${REINPLACE_CMD} -e 's|\(#define GOD_MODE\) 0|\1 1|' \
- ${WRKSRC}/src/Game.h
-. endif
-. if defined(WITHOUT_OPTIMIZED_CFLAGS)
+ ${WRKSRC}/src/Game.h
+. endif
+. if defined(WITHOUT_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's|-O2||g ; \
- s|-fomit-frame-pointer||g ; \
- s|-ffast-math||g ; \
- s|-fexpensive-optimizations||g' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-. endif
+ s|-fomit-frame-pointer||g ; \
+ s|-ffast-math||g ; \
+ s|-fexpensive-optimizations||g' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+. endif
.endif
.include <bsd.port.post.mk>