2012-03-25 22:11:28 +02:00
|
|
|
# $NetBSD: options.mk,v 1.2 2012/03/25 20:11:28 markd Exp $
|
2009-10-02 21:23:22 +02:00
|
|
|
|
2012-03-19 20:44:01 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kde-runtime4
|
|
|
|
PKG_SUPPORTED_OPTIONS= samba alsa
|
2012-03-25 22:11:28 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= samba alsa
|
2009-10-02 21:23:22 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
PLIST_VARS+= smb
|
|
|
|
.if !empty(PKG_OPTIONS:Msamba)
|
|
|
|
.include "../../net/samba/buildlink3.mk"
|
2011-02-25 21:37:56 +01:00
|
|
|
#CMAKE_ARGS+= -DSAMBA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.samba}/include
|
|
|
|
#CMAKE_ARGS+= -DSAMBA_LIBRARIES:FILEPATH=${BUILDLINK_PREFIX.samba}/lib/samba
|
2009-10-02 21:23:22 +02:00
|
|
|
PLIST.smb= yes
|
|
|
|
.endif
|
2011-02-25 21:37:56 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DWITH_ALSA=OFF
|
|
|
|
.endif
|