aboutsummaryrefslogtreecommitdiff
path: root/net/pfinger
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-20 16:23:18 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-20 16:23:18 +0000
commit698213be7261282589886119532423d30f0888fc (patch)
tree130f981618ca4579442b3be02bcdba059e1d9527 /net/pfinger
parent60fca1c6013528a8ad2270b14b411a6b079672e3 (diff)
Notes
Diffstat (limited to 'net/pfinger')
-rw-r--r--net/pfinger/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/pfinger/Makefile b/net/pfinger/Makefile
index 56e4940f01fd..865a67301024 100644
--- a/net/pfinger/Makefile
+++ b/net/pfinger/Makefile
@@ -30,7 +30,12 @@ MAN1= finger.1 pfinger.1
MAN5= fingerconf.5
MAN8= in.fingerd.8
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/src/configfile.c
+.if ${OSVERSION} >= 900007
+ @${REINPLACE_CMD} -e 's|<utmp.h>|<utmpx.h>|' ${WRKSRC}/configure
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>