dev-db/wxsqlite3: simplify by using wx-config-${SLOT} symlink

This commit is contained in:
Julian Ospald 2016-05-24 17:23:38 +02:00
parent d7baf7bd69
commit f08ba28959
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -40,7 +40,7 @@ src_configure() {
econf \
--enable-shared \
--enable-unicode \
--with-wx-config="/usr/$(exhost --target)/lib/wx/config/$(option providers:gtk3 'gtk3' 'gtk2')-unicode-3.0" \
--with-wx-config="/usr/$(exhost --target)/bin/wx-config-${SLOT}" \
--with-wxshared \
--with-sqlite3-prefix="/usr/$(exhost --target)" \
--includedir="/usr/$(exhost --target)/include/wx-${SLOT}/" \
@ -58,7 +58,9 @@ src_install() {
gtkver=2
fi
# this is the upstream .pc file
# this is the upstream .pc file and it doesn't get
# generated properly
# since upstream is uncollaborative, we'll keep sedding it
edo sed \
-e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \
-e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \