Changeset View
Changeset View
Standalone View
Standalone View
math/lp_solve/Makefile
Show All 14 Lines | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
.if defined(TMPDIR) | .if defined(TMPDIR) | ||||
BUILDENV= ${SETENV} TMPDIR="${TMPDIR}" | BUILDENV= ${SETENV} TMPDIR="${TMPDIR}" | ||||
.endif | .endif | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH} == "i386" || ${ARCH} == "powerpc" | # probably need to add mips here as well | ||||
.if ${ARCH} == "i386" || ${ARCH} == "powerpc" || ${ARCH} == armv6 | |||||
LPSOLVE_ARCH= ux32 | LPSOLVE_ARCH= ux32 | ||||
.else | .else | ||||
LPSOLVE_ARCH= ux64 | LPSOLVE_ARCH= ux64 | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${FIND} ${WRKSRC} -name "ccc" | ${XARGS} ${REINPLACE_CMD} -e \ | @${FIND} ${WRKSRC} -name "ccc" | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
"s|^c=.*$$|c='${CC}'|g ; \ | "s|^c=.*$$|c='${CC}'|g ; \ | ||||
Show All 21 Lines |