blob: 43b58057d69c435db5a422f00b288bcd1f8bbbf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: options.mk,v 1.3 2014/12/03 06:36:49 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libsixel
PKG_SUPPORTED_OPTIONS= curl gd gdk-pixbuf2 jpeg png
PKG_SUGGESTED_OPTIONS= curl jpeg png
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcurl)
CONFIGURE_ARGS+= --with-libcurl
.include "../../www/curl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libcurl
.endif
.if !empty(PKG_OPTIONS:Mjpeg)
CONFIGURE_ARGS+= --with-jpeg
.include "../../mk/jpeg.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-jpeg
.endif
.if !empty(PKG_OPTIONS:Mpng)
CONFIGURE_ARGS+= --with-png
.include "../../graphics/png/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-png
.endif
.if !empty(PKG_OPTIONS:Mgd)
CONFIGURE_ARGS+= --with-gd
.include "../../graphics/gd/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gd
.endif
.if !empty(PKG_OPTIONS:Mgdk-pixbuf2)
CONFIGURE_ARGS+= --with-gdk-pixbuf2
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gdk-pixbuf2
.endif
|