aboutsummaryrefslogtreecommitdiff
path: root/chinese/vflib
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-01-31 03:22:16 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-01-31 03:22:16 +0000
commit941f62f485c9267833d15af019309a91e41b4730 (patch)
treede314e3eddbf08e4647fde408867270ce2630580 /chinese/vflib
parent24e0f7e70f0ea222a028311f632dddbc9ca180ce (diff)
downloadports-941f62f485c9267833d15af019309a91e41b4730.tar.gz
ports-941f62f485c9267833d15af019309a91e41b4730.zip
s/varargs.h/stdarg.h/
Notes
Notes: svn path=/head/; revision=99576
Diffstat (limited to 'chinese/vflib')
-rw-r--r--chinese/vflib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/vflib/Makefile b/chinese/vflib/Makefile
index a206aaf95c51..613c318702fb 100644
--- a/chinese/vflib/Makefile
+++ b/chinese/vflib/Makefile
@@ -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)