I checked out how to use an ebuild in overlay, but I am having a terrible time getting the patch to be picked up. I can't figure out where the doggone thing needs to go. Whenever I run
Code: Select all
ebuild /usr/local/portage-bugs/sci-misc/brlcad/brlcad-7.4.2.ebuild unpackCode: Select all
>>> Unpacking brlcad-7.4.2.tar.bz2 to /var/tmp/portage/brlcad-7.4.2/work
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage-bugs/sci-misc/brlcad/files/brlcad-7.4.2-gentoo.diff
* ( brlcad-7.4.2-gentoo.diff )
!!! ERROR: sci-misc/brlcad-7.4.2 failed.
!!! Function epatch, Line 219, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PF}-gentoo.diff
# We must rebuild ./configure, becouse the patch modifies configure.ac.
rm configure
autoconf
cd ${S}
}






