Updated pcb2gcode to compile w/ latest boost/gcc
This commit is contained in:
@@ -24,18 +24,30 @@ LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sci-electronics/gerbv"
|
||||
RDEPEND=">=sci-electronics/gerbv-2.1.0"
|
||||
DEPEND="dev-cpp/gtkmm:2.4
|
||||
dev-libs/boost
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf -i
|
||||
eautoreconf
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
|
||||
|
||||
# Workaround for GCC 10.2 / Boost 1.75
|
||||
sed -i "${S}"/Makefile \
|
||||
-e "/BOOST_CPPFLAGS_SYSTEM =/d" \
|
||||
-e "/GEOS_CFLAGS_SYSTEM =/d" || die
|
||||
}
|
||||
|
||||
|
||||
|
||||
src_install() {
|
||||
cd "${BUILD_DIR}"
|
||||
exeinto /usr/bin
|
||||
|
||||
Reference in New Issue
Block a user