mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
databases/ocaml-dbm: fix build on powerpc
This commit is contained in:
parent
4a64cb4161
commit
0e4238b9f3
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,12 @@ HAS_CONFIGURE= yes
|
|||
MAKE_ENV+= LIBDIR="${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/dbm" \
|
||||
STUBLIBDIR="${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/dbm"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc
|
||||
USE_BINUTILS= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-E 's/^(LIBDIR|STUBLIBDIR)=/\1?=/' ${WRKSRC}/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue