1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- fix installation on powerpc

PR:		169424
Submitted by:	Matthieu Volat <mazhe at alkumuna dot eu>
Approved by:    Mayo Jordanov <mayo at oyam dot ca> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2012-06-26 20:51:03 +00:00
parent 962ff1a640
commit 0ae1b739cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300044

View File

@ -24,16 +24,12 @@ BUILDENV= ${ENV} TMPDIR="${TMPDIR}"
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
LPSOLVE_ARCH= ux32
.else
LPSOLVE_ARCH= ux64
.endif
.if ${ARCH} == "powerpc"
BROKEN= Does not install on powerpc
.endif
post-patch:
@${FIND} ${WRKSRC} -name "ccc" | ${XARGS} ${REINPLACE_CMD} -e \
"s|^c=.*$$|c='${CC}'|g ; \