default_pre_build &&
cd $SOURCE_DIRECTORY &&

# note that, yes indeed, they typo'd the extra S
sed -i "s:^COPTFLAGS=.*:COPTFLAG=${CFLAGS}:; \
	s:^LDFLAGS=.*:LDFLAGS=${LDFLAGS}:" Make.Rules &&

# fix for glibc changes
sed -i "s:attr/:sys/:" libcap/cap_file.c &&

# there's no indent for gperf..
sed -i "s:indent -kr ::" libcap/Makefile
