diff options
author | hauke <hauke@pkgsrc.org> | 2012-05-16 12:11:17 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2012-05-16 12:11:17 +0000 |
commit | 1d242de68e363fed03d2ee7734c5e8fc0a4707bb (patch) | |
tree | 6a5ba42bb7b3e7b4011cd071f9c59f8c955f812d /net/netatalk | |
parent | c71718ca09ed0004e9693e15a6737d0ccb1a3197 (diff) | |
download | pkgsrc-1d242de68e363fed03d2ee7734c5e8fc0a4707bb.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" |