Updated pcb2gcode to compile w/ latest boost/gcc
This commit is contained in:
parent
3158f5c12a
commit
97c5fdbb53
@ -1 +1 @@
|
||||
EBUILD pcb2gcode-9999.ebuild 866 BLAKE2B 21fc6440a0b3cb10fdc3c72ffb7f35a89ac90574454dab2987caadf0130ce02b088186ac085dab919c253701b6cf6aad433d10991d85862f261c9c3bd2c494ba SHA512 d09154d226c00d588d8db828b51d0aace92377bc5afb87491796899d91f7fe0c38476a3acf162ba92984c268f8f274cee1a9a561e06e063d641255352a954527
|
||||
EBUILD pcb2gcode-9999.ebuild 1045 BLAKE2B a4785bd2fbe01259704afa2a57726f98d49c0d36ca9b216c504429167db79c794edd37c9438f256e78fde74f8dcd7c8102bca37e1ed16d5a48311e6a09aab56c SHA512 5f7a3e983a34652b432583ecebf6d730f4c83f276b25fc8ff06b8ccf9f2d6a9d9c697977c822dc85cd3a049fca5a109a6fc7ab2e325b0ea59a1f0ead6dc9485a
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user