pkgsrc/x11/kdelibs3/options.mk
2008-04-12 22:42:57 +00:00

22 lines
485 B
Makefile

# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:14 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kdelibs
PKG_SUPPORTED_OPTIONS= cups debug
.include "../../mk/bsd.options.mk"
PLIST_VARS+= cups
.if !empty(PKG_OPTIONS:Mcups)
.include "../../print/cups/buildlink3.mk"
PLIST.cups= yes
.else
CONFIGURE_ARGS+= --disable-cups
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CC+= -ggdb
CXX+= -ggdb
CONFIGURE_ARGS+= --enable-debug=full
CONFIGURE_ENV+= INSTALL_STRIP_FLAG=
INSTALL_UNSTRIPPED= yes
.endif