View | Details | Raw Unified | Return to bug 157047
Collapse All | Expand All

(-)imlib2/Makefile (-4 / +9 lines)
Lines 77-87 Link Here
77
.endif
77
.endif
78
78
79
.if !defined(WITHOUT_GIF)
79
.if !defined(WITHOUT_GIF)
80
LIB_DEPENDS+=	ungif.5:${PORTSDIR}/graphics/libungif
80
. if exists(${LOCALBASE}/lib/libgif.so)
81
PLIST_SUB+=	GIF=""
81
LIB_DEPENDS+=   gif.5:${PORTSDIR}/graphics/giflib
82
PLIST_SUB+=     GIF=""
83
. else
84
LIB_DEPENDS+=   ungif.5:${PORTSDIR}/graphics/libungif
85
PLIST_SUB+=     GIF=""
86
. endif
82
.else
87
.else
83
CONFIGURE_ARGS+=	--without-gif
88
CONFIGURE_ARGS+=        --without-gif
84
PLIST_SUB+=	GIF="@comment "
89
PLIST_SUB+=     GIF="@comment "
85
.endif
90
.endif
86
91
87
.if !defined(WITHOUT_ID3)
92
.if !defined(WITHOUT_ID3)

Return to bug 157047