pkgsrc-Bugs archive

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

pkg/43399: Haiku support for mk/buildlink3/find-{files,libs}.mk



>Number:         43399
>Category:       pkg
>Synopsis:       Haiku support for mk/buildlink3/find-{files,libs}.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 01 12:15:00 +0000 2010
>Originator:     OBATA Akio
>Release:        
>Organization:
>Environment:
Haiku OS
>Description:
Haiku OS dose not have /usr/include and /usr/lib,
so failed to detect header files with mk/buildlink3/fild-files.mk
and libraries with mk/buildlink3/find-libs.mk.

There are no way to get default headers and libraries location for gcc,
but almost of header files and libraries search paths will be got with
BEINCLUDES and BELIBRARIES environment variable (semicolon separated).

>How-To-Repeat:
Use pkgsrc on Haiku OS, and failed to detect builtin packages.
>Fix:
mk/buidlink3/fild-files.mk rev1.7 and mk/buidlink3/fild-libs.mk rev1.7
are prposed one.

i.e.
In find-libs.mk, search below BELIBRARIES additionally.
In find-files.mk, search below BEINCLUDES if finding files are /usr/include/*.
For find-filse.mk, It will be better that header detection is split out  to 
find-headers.mk and specify header file without /usr prefix, and it 
may be adapt to special develop environment (ex cross build).

I'm not sure those changes no bad affect to other than Haiku OS.



Home | Main Index | Thread Index | Old Index