mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
s/varargs.h/stdarg.h/
This commit is contained in:
parent
24e0f7e70f
commit
941f62f485
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99576
@ -31,19 +31,19 @@ USE_FREETYPE= yes
|
||||
USE_XLIB= yes
|
||||
USE_AUTOCONF= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ARGS= --with-freetype \
|
||||
--with-freetype-includedir=${PREFIX}/include/freetype1/freetype \
|
||||
--with-freetype-libdir=${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile (need to replace varargs.h with stdarg.h)"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${SED} -e "s;%%LOCALBASE%%;${LOCALBASE};g" -e "s;%%X11BASE%%;${X11BASE};g" ${DISTDIR}/zh-vfontcap.in > ${WRKSRC}/vfontcap
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,varargs.h,stdarg.h," ${WRKSRC}/tools/disol.c
|
||||
|
||||
pre-install:
|
||||
@(cd ${WRKSRC}/tools; \
|
||||
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
|
||||
|
Loading…
Reference in New Issue
Block a user