pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50173: devel/libelf BUILDLINK_INCDIRS.libelf?= include/libelf



>Number:         50173
>Category:       pkg
>Synopsis:       devel/libelf BUILDLINK_INCDIRS.libelf?=	include/libelf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 26 07:10:00 +0000 2015
>Originator:     David Shao
>Release:        pkgsrc current
>Organization:
>Environment:
DragonFly  4.3-DEVELOPMENT DragonFly v4.3.1.340.g01e30f-DEVELOPMENT #4: Tue Aug 25 14:11:21 PDT 2015     xxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
Similar to x11/libdrm, devel/libelf in its buildlink3.mk could use

BUILDLINK_INCDIRS.libelf?=	include/libelf

This problem was not seen in MesaLib until adding various options to build glamor etc. exposed a file that had an include of the form

#include <gelf>

  CC       radeon_elf_util.lo
radeon_elf_util.c:32:18: fatal error: gelf.h: No such file or directory
compilation terminated.



>How-To-Repeat:

>Fix:
diff -Nur libelf.orig/buildlink3.mk libelf/buildlink3.mk
--- libelf.orig/buildlink3.mk	2009-03-20 12:24:17.000000000 -0700
+++ libelf/buildlink3.mk	2015-08-25 23:01:18.938476000 -0700
@@ -7,6 +7,7 @@
 
 BUILDLINK_API_DEPENDS.libelf+=	libelf>=0.8.5
 BUILDLINK_PKGSRCDIR.libelf?=	../../devel/libelf
+BUILDLINK_INCDIRS.libelf?=	include/libelf
 .endif # LIBELF_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-libelf



Home | Main Index | Thread Index | Old Index