mplayer, gmplayer: Link libgifutil to resolve GifQuantizeBuffer()

Add -lgifutil when -lgif is used.
This commit is contained in:
ryoon 2020-01-09 15:57:58 +00:00
parent 674d2194d2
commit 69cf566ea1

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.62 2019/06/04 13:39:38 nia Exp $
# $NetBSD: Makefile.common,v 1.63 2020/01/09 15:57:58 ryoon Exp $
# used by multimedia/gmplayer/Makefile
# used by multimedia/mencoder/Makefile
# used by multimedia/mplayer/Makefile
@ -34,6 +34,9 @@ HAS_CONFIGURE= YES
PTHREAD_OPTS+= require
# For GifQuantizeBuffer of graphics/giflib
BUILDLINK_TRANSFORM+= l:gif:gif:gifutil
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --disable-smb
CONFIGURE_ARGS+= --disable-ffmpeg_a