diff options
Diffstat (limited to 'sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild')
-rw-r--r-- | sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild index 9dcfe3cacd80..7da5b2f5afd9 100644 --- a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild +++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-10.2.ebuild @@ -25,7 +25,6 @@ EXTRACTONLY=" sbin/ sys/ " -use build && EXTRACTONLY+="include/" RDEPEND="=sys-freebsd/freebsd-lib-${RV}* =sys-freebsd/freebsd-libexec-${RV}* @@ -42,6 +41,11 @@ PATCHES=( "${FILESDIR}/${PN}-10.2-underlink.patch" ) +pkg_setup() { + # Add the required source files. + use build && EXTRACTONLY+="include/ " +} + src_prepare() { if [[ ! -e "${WORKDIR}/include" ]]; then # Link in include headers. |