1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Fix the build for the root case, and also for post 4.0-RELEASE case.

Submitted by:	kris, bento
This commit is contained in:
Neil Blakey-Milner 2000-07-19 12:16:04 +00:00
parent e0a3c303d3
commit 0fecb98b8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30849

View File

@ -29,4 +29,15 @@ MLINKS= authlib.8 authpwd.8 \
makeuserdb.8 pw2userdb.8 \
makeuserdb.8 vchkpw2userdb.8
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
post-patch:
@perl -i -pe s'@^if test -w confmdtest1$$@if test -z 0@' \
${WRKSRC}/configure
.if ${OSVERSION} >= 400016
@perl -i -pe 's@^#include\s*<netinet6/in6.h>$$@@' \
${WRKSRC}/rfc1035/configure \
${WRKSRC}/rfc1035/rfc1035.h.in
.endif
.include <bsd.port.post.mk>