Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 06:21:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192733] New: [build] [patch] lib/libcuse: checkdpadd failure (missing DPADD for LIBPTHREAD)
Message-ID:  <bug-192733-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192733

            Bug ID: 192733
           Summary: [build] [patch] lib/libcuse: checkdpadd failure
                    (missing DPADD for LIBPTHREAD)
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: yaneurabeya@gmail.com

lib/libcuse/Makefile is missing DPADD for libpthread:

Before the fix:

% (cd /usr/src.svn/lib/libcuse/; make checkdpadd)
/usr/src.svn/lib/libcuse
DPADD -> 
LDADD -> -lpthread

After the fix:

% make checkdpadd
% git diff Makefile 
diff --git a/lib/libcuse/Makefile b/lib/libcuse/Makefile
index 6269cbe..f547bc2 100644
--- a/lib/libcuse/Makefile
+++ b/lib/libcuse/Makefile
@@ -30,13 +30,13 @@ SHLIB_MINOR=        0
 SRCS=          cuse_lib.c
 INCS=          cuse.h
 MAN=           cuse.3
-PTHREAD_LIBS?= -lpthread
 CFLAGS+=       -D_GNU_SOURCE
 .if defined(HAVE_DEBUG)
 CFLAGS+=       -g
 CFLAGS+=       -DHAVE_DEBUG
 .endif
-LDADD+=        ${PTHREAD_LIBS}
+DPADD+=        ${LIBPTHREAD}
+LDADD+=        -lpthread

 MLINKS=
 MLINKS+= cuse.3 cuse_alloc_unit_number.3

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192733-8>