mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 03:54:09 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
1.1 KiB
BlitzBasic
38 lines
1.1 KiB
BlitzBasic
SUMMARY = "A portable version of the mg maintained by the OpenBSD team"
|
|
HOMEPAGE = "http://homepage.boetes.org/software/mg/"
|
|
LICENSE = "PD"
|
|
LIC_FILES_CHKSUM = "file://version.c;md5=a8e0b53d89d277bf3b40878ac568bedd"
|
|
DEPENDS = "ncurses libbsd"
|
|
SECTION = "console/editors"
|
|
|
|
SRCREV = "f21c2ba36772ffa68d9cfa55305e427d37903b4a"
|
|
SRC_URI = "git://github.com/hboetes/mg;branch=master;protocol=https \
|
|
file://0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch \
|
|
file://0002-fileio-Define-DEFFILEMODE-if-platform-is-missing.patch \
|
|
"
|
|
SRC_URI:append:libc-musl = "\
|
|
file://0001-Undefine-REGEX-for-musl-based-systems.patch \
|
|
"
|
|
|
|
|
|
# CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?=
|
|
EXTRA_OEMAKE = "\
|
|
'CC=${CC}' \
|
|
'LDFLAGS=${LDFLAGS}' \
|
|
\
|
|
'prefix=${prefix}' \
|
|
'bindir=${bindir}' \
|
|
'libdir=${libdir}' \
|
|
'includedir=${includedir}' \
|
|
'mandir=${mandir}' \
|
|
'PKG_CONFIG=pkg-config' \
|
|
"
|
|
|
|
CFLAGS += "-I${STAGING_INCDIR}/bsd"
|
|
|
|
do_install () {
|
|
oe_runmake install DESTDIR=${D}
|
|
}
|
|
|
|
inherit pkgconfig
|