diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2010-10-10 17:12:02 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2010-10-10 17:12:02 +0000 |
commit | ae0c801b4167e98d341ada5610dea0af093cf1b9 (patch) | |
tree | 0a23d0f20288ea3bc96f759a4b41b7693429d775 /emulators | |
parent | ee18ec8073e4b9338d34e229c53a792ec510134a (diff) | |
download | ports-ae0c801b4167e98d341ada5610dea0af093cf1b9.tar.gz ports-ae0c801b4167e98d341ada5610dea0af093cf1b9.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/generator/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile index 616d6ccf6be2..3f0479ea72bf 100644 --- a/emulators/generator/Makefile +++ b/emulators/generator/Makefile @@ -37,18 +37,6 @@ PLIST_FILES= bin/${PORTNAME}-gtk .include <bsd.port.pre.mk> -.if ${ARCH} != "amd64" && ${ARCH} != "i386" -post-patch: -# These architectures do not support "-minline-all-stringops" - @${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -. if ${ARCH} == "alpha" -# "-ffast-math" does not work on alpha - @${REINPLACE_CMD} -e 's|-ffast-math||g' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -. endif -.endif - .if !defined(WITHOUT_OPTIMIZED_CFLAGS) CONFIGURE_ARGS+=--with-gcc=3 .else @@ -67,6 +55,16 @@ CONFIGURE_ARGS+=--with-sdl-audio .endif post-patch: +.if ${ARCH} != "amd64" && ${ARCH} != "i386" +# These architectures do not support "-minline-all-stringops" + @${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +. if ${ARCH} == "alpha" +# "-ffast-math" does not work on alpha + @${REINPLACE_CMD} -e 's|-ffast-math||g' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +. endif +.endif @${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \ ${WRKSRC}/raze/raze.asm.in |