Fix build on amd64 by adding --with-pic to CONFIGURE_ARGS.
Submitted by: Sean McNeil <sean@mcneil.com>
This commit is contained in:
parent
067f35f6d8
commit
7847d8fbde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110803
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,10 @@ CONFIGURE_ARGS+=--with-openldap=${LOCALBASE}
|
|||
CONFIGURE_ARGS+=--with-openldap=no
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CONFIGURE_ARGS+=--with-pic
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '<db.h>' | \
|
||||
${XARGS} ${REINPLACE_CMD} -e 's|<db.h>|<db3/db.h>|g'
|
||||
|
|
Loading…
Reference in a new issue