Changeset View
Changeset View
Standalone View
Standalone View
head/math/msieve/Makefile
| Show All 40 Lines | |||||
| .if ${MACHINE_CPU:Msse} | .if ${MACHINE_CPU:Msse} | ||||
| CFLAGS+= -DHAS_SSE | CFLAGS+= -DHAS_SSE | ||||
| .endif | .endif | ||||
| .if ${MACHINE_CPU:Msse2} | .if ${MACHINE_CPU:Msse2} | ||||
| CFLAGS+= -DHAS_SSE2 | CFLAGS+= -DHAS_SSE2 | ||||
| .endif | .endif | ||||
| .if ${OSVERSION} >= 700042 && ${ARCH} == "sparc64" | .if ${ARCH} == "sparc64" | ||||
| BROKEN= Does not compile on sparc64 | BROKEN= Does not compile on sparc64 | ||||
| .endif | .endif | ||||
| post-patch: | post-patch: | ||||
| @${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
| -e '/(^(CC|OPT_FLAGS) =|-DNDEBUG|svnversion|-ldl)/d' \ | -e '/(^(CC|OPT_FLAGS) =|-DNDEBUG|svnversion|-ldl)/d' \ | ||||
| -e '/^CFLAGS =/s/=/+=/' \ | -e '/^CFLAGS =/s/=/+=/' \ | ||||
| -e 's@-Ignfs/poly/stage1@& -I${LOCALBASE}/include@' \ | -e 's@-Ignfs/poly/stage1@& -I${LOCALBASE}/include@' \ | ||||
| Show All 20 Lines | |||||