devel/android-tools-fastboot: replace post-extract via GH_SUBDIR

This commit is contained in:
Jan Beich 2019-09-12 14:57:02 +00:00
parent 45c32be2d4
commit 82d6d552b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511886
3 changed files with 5 additions and 8 deletions

View file

@ -51,9 +51,6 @@ DOCS_MAKE_ARGS_OFF= FILES="" FILESDIR=""
post-extract:
@${CP} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \
${BUILD_WRKSRC}
# Adjust paths relative to core
@(cd ${WRKSRC_extras} && ${COPYTREE_SHARE} . ${WRKSRC})
@(cd ${WRKSRC_mkbootimg} && ${COPYTREE_SHARE} . ${WRKSRC})
post-install-BASH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/${BASH_PLIST_FILES:H}

View file

@ -35,7 +35,7 @@ SRCS+= threads.cpp
SRCS+= diagnose_usb.cpp
# required by fs_mgr/liblp
.PATH: ${.CURDIR}/../ext4_utils
.PATH: ${.CURDIR}/../extras/ext4_utils
SRCS+= ext4_sb.cpp
SRCS+= ext4_utils.cpp
@ -91,10 +91,10 @@ CPPFLAGS+= -Dpread64=pread
CPPFLAGS+= -DFAKE_LOG_DEVICE=1
CPPFLAGS+= -I${.CURDIR}
CPPFLAGS+= -I${.CURDIR}/../include
CPPFLAGS+= -I${.CURDIR}/../include/bootimg
CPPFLAGS+= -I${.CURDIR}/../mkbootimg/include/bootimg
CPPFLAGS+= -I${.CURDIR}/../base/include
CPPFLAGS+= -I${.CURDIR}/../diagnose_usb/include
CPPFLAGS+= -I${.CURDIR}/../ext4_utils/include
CPPFLAGS+= -I${.CURDIR}/../extras/ext4_utils/include
CPPFLAGS+= -I${.CURDIR}/../fs_mgr/liblp/include
CPPFLAGS+= -I${.CURDIR}/../libsparse/include
CPPFLAGS+= -I${.CURDIR}/../libziparchive/include

View file

@ -1,5 +1,5 @@
--- ext4_utils/ext4_utils.cpp.orig 2019-08-13 02:10:50 UTC
+++ ext4_utils/ext4_utils.cpp
--- extras/ext4_utils/ext4_utils.cpp.orig 2019-08-13 02:10:50 UTC
+++ extras/ext4_utils/ext4_utils.cpp
@@ -32,8 +32,16 @@
#if defined(__linux__)