diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2010-06-09 20:10:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-06-09 20:10:11 +0000 |
commit | 93313ea8848f25dd5f273e1ff36e48ddae74a2af (patch) | |
tree | f3a569f5291239ba9fd08dca9549a9b9bc314258 /math/goblin | |
parent | 9b0a3374d129bc88d3ea0539cc5e239af48ad941 (diff) |
Notes
Diffstat (limited to 'math/goblin')
-rw-r--r-- | math/goblin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/math/goblin/Makefile b/math/goblin/Makefile index e9cbbecfc175..99d5fb67b8f3 100644 --- a/math/goblin/Makefile +++ b/math/goblin/Makefile @@ -34,6 +34,12 @@ LDFLAGS= -L${LOCALBASE}/lib -ltcl84 -ltk84 ${PTHREAD_LIBS} WISH= ${LOCALBASE}/bin/wish8.4 +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= does not build on !i386 +.endif + post-patch: ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/display @@ -68,4 +74,4 @@ do-install: (cd ${WRKSRC}/samples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |