diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-05-05 07:53:27 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-05-05 07:53:27 +0000 |
commit | 8554f1fe2d9f577954133c1d113a62efd2288327 (patch) | |
tree | 527af795601c6a4b51acc6af6f5c32fad25a0cfe | |
parent | Update to 1.2 (diff) |
The port uses -msse compiler option, which I've disabled by ports/95552 to make
it compile under amd64. That led to the port not compiling anywhere at all, as
sse dependancy is hardcoded. So:
- Don't remove -msse from compiler flags
- Introduce ONLY_FOR_ARCHS=i386
PR: ports/95872
Submitted by: Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
-rw-r--r-- | graphics/sharpconstruct/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index 74ae7c49106c..b19719f7b8d8 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -26,6 +26,8 @@ USE_GCC= 3.4+ MAN1= sharpconstruct.1 +ONLY_FOR_ARCHS= i386 + .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 @@ -41,6 +43,5 @@ post-patch: @${REINPLACE_CMD} -e 's|memalign(b,c)|malloc(c)|' ${WRKSRC}/include/Align.hh @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' - @${REINPLACE_CMD} -e 's|-msse||' ${WRKSRC}/src/Makefile.in .include <bsd.port.post.mk> |