diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-01 15:33:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-01 16:09:39 +0100 |
commit | a8de88dab3a6f39398762aa2e71c165e7bd9521b (patch) | |
tree | dbf626942bc2c11b3517847c7c9b79e0a61689a2 | |
parent | app-admin/keepassxc: Removed old. (diff) | |
download | gentoo-a8de88dab3a6f39398762aa2e71c165e7bd9521b.tar.gz gentoo-a8de88dab3a6f39398762aa2e71c165e7bd9521b.tar.bz2 gentoo-a8de88dab3a6f39398762aa2e71c165e7bd9521b.zip |
sys-freebsd/freebsd-lib: Apply sys header fix only for USE=build
The 'sys' directory is not extracted with USE=-build, so apply the patch
only when there's something to patch. Not that I have any clue how
this is going to work at all with USE=-build.
-rw-r--r-- | sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild index e28f2420c1f1..6e8b27343dc9 100644 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild @@ -174,7 +174,6 @@ src_prepare() { # patches "${WORKDIR}/include" cd "${WORKDIR}" epatch "${FILESDIR}/${PN}-includes.patch" - epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch" # Don't install the hesiod man page or header rm "${WORKDIR}"/include/hesiod.h || die @@ -221,6 +220,7 @@ src_prepare() { # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it # shouldn't be a symlink to /usr/src/sys (which should be already patched) epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch + epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch" return 0 fi |