diff options
Diffstat (limited to 'x11/kdebase3/Makefile')
-rw-r--r-- | x11/kdebase3/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile index d2ee3a1c1a7..4e9256a7296 100644 --- a/x11/kdebase3/Makefile +++ b/x11/kdebase3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2005/11/09 22:27:37 wiz Exp $ +# $NetBSD: Makefile,v 1.96 2005/11/17 04:33:20 hubertf Exp $ DISTNAME= kdebase-${_KDE_VERSION} CATEGORIES= x11 @@ -78,7 +78,7 @@ CONFIGURE_ENV+= RUN_KAPPFINDER=no PLIST_SRC+= ${PKGDIR}/PLIST PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase -PKG_SUPPORTED_OPTIONS= sasl samba +PKG_SUPPORTED_OPTIONS= sasl samba debug PKG_SUGGESTED_OPTIONS= sasl .include "../../mk/bsd.options.mk" @@ -94,6 +94,14 @@ PLIST_SUBST+= HAVE_SMB="" PLIST_SUBST+= HAVE_SMB="@comment " .endif +.if !empty(PKG_OPTIONS:Mdebug) +CC+= -ggdb +CXX+= -ggdb +CONFIGURE_ARGS+= --enable-debug=full +CONFIGURE_ENV+= INSTALL_STRIP_FLAG= +INSTALL_UNSTRIPPED= yes +.endif + .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" PLIST_SUBST+= HAVE_USBVIEW="" .else |