1 # $NetBSD: options.mk,v 1.8 2010/12/23 11:44:48 dsainty Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.spamprobe
4 PKG_SUPPORTED_OPTIONS
= bdb gif png jpeg
5 PKG_SUGGESTED_OPTIONS
= gif png jpeg
7 .
include "../../mk/bsd.options.mk"
9 .if
!empty
(PKG_OPTIONS
:Mbdb
)
10 BDB_ACCEPTED
= db4 db5
# db3 db2 (not tested)
11 BUILDLINK_TRANSFORM
+= l
:db
:${BDB_TYPE}
12 .
include "../../mk/bdb.buildlink3.mk"
13 CONFIGURE_ARGS
+= --with-db
=${BDBBASE}
16 .if
!empty
(PKG_OPTIONS
:Mgif
)
17 .
include "../../mk/giflib.buildlink3.mk"
20 .if
!empty
(PKG_OPTIONS
:Mpng
)
21 .
include "../../graphics/png/buildlink3.mk"
24 .if
!empty
(PKG_OPTIONS
:Mjpeg
)
25 .
include "../../mk/jpeg.buildlink3.mk"