2012-06-12 17:45:54 +02:00
|
|
|
# $NetBSD: options.mk,v 1.6 2012/06/12 15:46:05 wiz Exp $
|
2007-01-26 03:49:25 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase
|
2008-01-04 22:05:56 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam composite
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6 sasl
|
2007-01-26 03:49:25 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= composite
|
2008-01-04 22:05:56 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mcomposite)
|
|
|
|
CONFIGURE_ARGS+= --with-composite
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.composite= yes
|
2008-04-30 14:20:09 +02:00
|
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
2008-01-04 22:05:56 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-composite
|
|
|
|
.endif
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= smb
|
2007-01-26 03:49:25 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Msamba)
|
|
|
|
.include "../../net/samba/buildlink3.mk"
|
|
|
|
LIBS+= -L${BUILDLINK_PREFIX.samba}/lib/samba ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.samba}/lib/samba
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.smb= yes
|
2007-01-26 03:49:25 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
|
|
CC+= -ggdb
|
|
|
|
CXX+= -ggdb
|
|
|
|
CONFIGURE_ARGS+= --enable-debug=full
|
|
|
|
CONFIGURE_ENV+= INSTALL_STRIP_FLAG=
|
|
|
|
INSTALL_UNSTRIPPED= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
|
|
. include "../../mk/pam.buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-pam
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-pam
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
|
|
.endif
|