| @@ -1,25 +1,26 @@ | | | @@ -1,25 +1,26 @@ |
1 | # $NetBSD: options.mk,v 1.4 2008/04/12 22:43:14 jlam Exp $ | | 1 | # $NetBSD: options.mk,v 1.5 2008/04/30 12:20:09 xtraeme Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase |
4 | PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam composite | | 4 | PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam composite |
5 | PKG_SUGGESTED_OPTIONS= sasl | | 5 | PKG_SUGGESTED_OPTIONS= sasl |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= composite | | 9 | PLIST_VARS+= composite |
10 | .if !empty(PKG_OPTIONS:Mcomposite) | | 10 | .if !empty(PKG_OPTIONS:Mcomposite) |
11 | CONFIGURE_ARGS+= --with-composite | | 11 | CONFIGURE_ARGS+= --with-composite |
12 | PLIST.composite= yes | | 12 | PLIST.composite= yes |
| | | 13 | .include "../../x11/libXcomposite/buildlink3.mk" |
13 | .else | | 14 | .else |
14 | CONFIGURE_ARGS+= --without-composite | | 15 | CONFIGURE_ARGS+= --without-composite |
15 | .endif | | 16 | .endif |
16 | | | 17 | |
17 | PLIST_VARS+= smb | | 18 | PLIST_VARS+= smb |
18 | .if !empty(PKG_OPTIONS:Msamba) | | 19 | .if !empty(PKG_OPTIONS:Msamba) |
19 | .include "../../net/samba/buildlink3.mk" | | 20 | .include "../../net/samba/buildlink3.mk" |
20 | LIBS+= -L${BUILDLINK_PREFIX.samba}/lib/samba ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.samba}/lib/samba | | 21 | LIBS+= -L${BUILDLINK_PREFIX.samba}/lib/samba ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.samba}/lib/samba |
21 | PLIST.smb= yes | | 22 | PLIST.smb= yes |
22 | .endif | | 23 | .endif |
23 | | | 24 | |
24 | .if !empty(PKG_OPTIONS:Mdebug) | | 25 | .if !empty(PKG_OPTIONS:Mdebug) |
25 | CC+= -ggdb | | 26 | CC+= -ggdb |