|
Lines 37-54
Link Here
|
| 37 |
|
37 |
|
| 38 |
.include <bsd.port.pre.mk> |
38 |
.include <bsd.port.pre.mk> |
| 39 |
|
39 |
|
| 40 |
.if ${ARCH} != "amd64" && ${ARCH} != "i386" |
|
|
| 41 |
post-patch: |
| 42 |
# These architectures do not support "-minline-all-stringops" |
| 43 |
@${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \ |
| 44 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
| 45 |
. if ${ARCH} == "alpha" |
| 46 |
# "-ffast-math" does not work on alpha |
| 47 |
@${REINPLACE_CMD} -e 's|-ffast-math||g' \ |
| 48 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
| 49 |
. endif |
| 50 |
.endif |
| 51 |
|
| 52 |
.if !defined(WITHOUT_OPTIMIZED_CFLAGS) |
40 |
.if !defined(WITHOUT_OPTIMIZED_CFLAGS) |
| 53 |
CONFIGURE_ARGS+=--with-gcc=3 |
41 |
CONFIGURE_ARGS+=--with-gcc=3 |
| 54 |
.else |
42 |
.else |
|
Lines 67-72
Link Here
|
| 67 |
.endif |
55 |
.endif |
| 68 |
|
56 |
|
| 69 |
post-patch: |
57 |
post-patch: |
|
|
58 |
.if ${ARCH} != "amd64" && ${ARCH} != "i386" |
| 59 |
# These architectures do not support "-minline-all-stringops" |
| 60 |
@${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \ |
| 61 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
| 62 |
. if ${ARCH} == "alpha" |
| 63 |
# "-ffast-math" does not work on alpha |
| 64 |
@${REINPLACE_CMD} -e 's|-ffast-math||g' \ |
| 65 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
| 66 |
. endif |
| 67 |
.endif |
| 70 |
@${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \ |
68 |
@${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \ |
| 71 |
${WRKSRC}/raze/raze.asm.in |
69 |
${WRKSRC}/raze/raze.asm.in |