blob: a583aa0e32eb524a35f25aac442fef7dc947457c (
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
|
# $NetBSD: options.mk,v 1.9 2011/03/27 00:59:53 hubertf Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spamprobe
PKG_SUPPORTED_OPTIONS= bdb gif png jpeg
PKG_SUGGESTED_OPTIONS= gif png jpeg
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbdb)
BDB_ACCEPTED= db4 db5 # db3 db2 (not tested)
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
.include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ARGS+= --with-db=${BDBBASE}
.endif
.if !empty(PKG_OPTIONS:Mgif)
.include "../../mk/giflib.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpng)
.include "../../graphics/png/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mjpeg)
.include "../../mk/jpeg.buildlink3.mk"
.endif
|