pkgsrc/x11/kde-runtime4/options.mk
2012-03-25 20:11:28 +00:00

21 lines
588 B
Makefile

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