diff options
author | hauke <hauke> | 2012-05-16 12:11:17 +0000 |
---|---|---|
committer | hauke <hauke> | 2012-05-16 12:11:17 +0000 |
commit | 9a3415b17358492c7f80a3461295e90a3db84402 (patch) | |
tree | 6a5ba42bb7b3e7b4011cd071f9c59f8c955f812d /net/netatalk | |
parent | 42cf2b5e8c2064e3b5f82b840c43f5f345c90a4c (diff) | |
download | pkgsrc-9a3415b17358492c7f80a3461295e90a3db84402.tar.gz |
Add a 'debug' option for building the package with debug switches on.
Diffstat (limited to 'net/netatalk')
-rw-r--r-- | net/netatalk/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net/netatalk/options.mk b/net/netatalk/options.mk index 10b0f9db442..8d6ba2d85e2 100644 --- a/net/netatalk/options.mk +++ b/net/netatalk/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.2 2009/06/09 13:57:56 taca Exp $ +# $NetBSD: options.mk,v 1.3 2012/05/16 12:11:17 hauke Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk -PKG_SUPPORTED_OPTIONS= cups kerberos pam slp +PKG_SUPPORTED_OPTIONS= cups debug kerberos pam slp .include "../../mk/bsd.options.mk" @@ -12,6 +12,16 @@ CONFIGURE_ARGS+= --enable-cups CONFIGURE_ARGS+= --disable-cups .endif +PLIST_VARS+= debug +.if !empty(PKG_OPTIONS:Mdebug) +# Debugging +CONFIGURE_ARGS+= --enable-debug1 +CONFIGURE_ARGS+= --enable-debug +CONFIGURE_ARGS+= --enable-debugging +CFLAGS+= -g3 +INSTALL_UNSTRIPPED= yes +.endif + PLIST_VARS+= gssapi .if !empty(PKG_OPTIONS:Mkerberos) .include "../../mk/krb5.buildlink3.mk" |