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/Makefile | |
parent | - Mark manual package building (diff) |
- Mark BROKEN outside i386 (needs -fPIC magic)
Reported by: pointyhat
Notes
Notes:
svn path=/head/; revision=256226
Diffstat (limited to 'math/goblin/Makefile')
-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> |