Fix build with giflib 2.4.0.

Reported by:	Justim <freebsd.users@gmail.com> via ports/168642
This commit is contained in:
Roman Bogorodskiy 2012-06-05 17:41:16 +00:00
parent 2aa36bd28d
commit 421984c9ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298497

View File

@ -84,6 +84,8 @@ CONFIGURE_ARGS+= --without-tiff
post-extract:
@${REINPLACE_CMD} -e "s/default/default.sample/g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s/PrintGifError();/GifError();/g" \
${WRKSRC}/src/libimage/gif.c
@${MV} ${WRKSRC}/xplanet/config/default ${WRKSRC}/xplanet/config/default.sample
post-install: