aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/diffutils/diffutils_3.6.bbappend
blob: f301349fe9bc33b498074be914fe8ca309167dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FILESEXTRAPATHS_prepend_mingw32 := "${THISDIR}/${BPN}:"

SRC_URI_remove_mingw32 = "file://0001-explicitly-disable-replacing-getopt.patch"
SRC_URI_append_mingw32 = " file://sdiff-no-kill.patch"

CACHED_CONFIGUREVARS_append_mingw32 = " ac_cv_header_getopt_h=yes "

# Add some definitions for POSIX signals..
CFLAGS_append_mingw32 = " -DSIGALRM=14 -DSIGHUP=1 -DSIGQUIT=3 -DSIGPIPE=13 -DSIGTSTP=18 -DSIGSTOP=17 "

do_configure_prepend_mingw32 () {
    # Remove building of "man"
    sed -i -e 's:^SUBDIRS = lib src tests doc man po gnulib-test:SUBDIRS = lib src tests doc po gnulib-test:g' ${S}/Makefile.am
}