- Unbreak Makefile on 6.X

Reported by:	portsnap
This commit is contained in:
Pav Lucistnik 2010-11-30 14:43:45 +00:00
parent 321cbb98a0
commit 0e1fc97beb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265453

View File

@ -143,10 +143,8 @@ post-configure:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.endif
@echo "DOT_FONTPATH = ${LOCALBASE}/lib/X11/fonts/freefont-ttf" >> ${WRKSRC}/Doxyfile
.if ${OSVERSION} < 700000
# on FreeBSD 6.x, <sys/mount.h> first requires <sys/param.h> (for NGROUPS)
post-configure::
@${REINPLACE_CMD} -e "s:/\* #undef HAVE_SYS_MOUNT_H \*/:#define HAVE_SYS_MOUNT_H 1:" \
${WRKSRC}/config.h
.endif