- Fix building on amd64 by adding a post-patch command to remove -Bstatic
- Pet portlint by quoting BROKEN messages PR: 80903 Submitted by: Johan van Selst <johans@stack.nl>
This commit is contained in:
parent
7ea10becc8
commit
56bda600e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135104
1 changed files with 5 additions and 6 deletions
|
@ -33,15 +33,11 @@ OPTIONS= BDB "Berkeley DB extension" off \
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= coredumps a lot
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
IGNORE= need base libraries built with -fPIC
|
||||
BROKEN= "coredumps a lot"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "ia64"
|
||||
BROKEN= fails to compile
|
||||
BROKEN= "fails to compile"
|
||||
.endif
|
||||
|
||||
# Dependencies for port options
|
||||
|
@ -112,6 +108,9 @@ post-patch:
|
|||
-e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g' \
|
||||
-e 's,root:root,root:wheel,g' \
|
||||
${WRKSRC}/setup.pl ${WRKSRC}/scriba.c ${WRKSRC}/make_gcc.jim
|
||||
.if ${ARCH} == "amd64"
|
||||
${REINPLACE_CMD} -e 's, -Bstatic,,g' ${WRKSRC}/make_gcc.jim
|
||||
.endif
|
||||
|
||||
# Remove extensions not selected as options
|
||||
|
||||
|
|
Loading…
Reference in a new issue