Fix WANTLIB.

Don't spam the console.
This commit is contained in:
ajacoutot 2009-10-15 23:48:10 +00:00
parent 8a01e8cdaa
commit 552b6089ea
2 changed files with 21 additions and 5 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2009/10/15 23:30:15 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2009/10/15 23:48:10 ajacoutot Exp $
# XXX
BROKEN= WIP: does not work yet
BROKEN= WIP does not work yet
COMMENT= authorization framework
DISTNAME= PolicyKit-0.9
PKGNAME= ${DISTNAME:L}p4
PKGNAME= ${DISTNAME:L}p5
CATEGORIES= sysutils security
@ -24,7 +23,7 @@ PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB += c dbus-1 expat pcre pthread
WANTLIB += c dbus-1 expat glib-2.0 gobject-2.0 pcre pthread
MASTER_SITES= http://hal.freedesktop.org/releases/

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_kit_kit-memory_c,v 1.1 2009/10/15 23:48:10 ajacoutot Exp $
Quiet up useless spam.
--- src/kit/kit-memory.c.orig Fri Oct 16 01:39:22 2009
+++ src/kit/kit-memory.c Fri Oct 16 01:39:53 2009
@@ -364,8 +364,8 @@ kit_print_backtrace (void)
fflush (stderr);
free (syms);
-#else
- fprintf (stderr, " Not built with -rdynamic so unable to print a backtrace\n");
+//#else
+// fprintf (stderr, " Not built with -rdynamic so unable to print a backtrace\n");
#endif
}