forked from hasufell/hasufell-repository
dev-db/wxsqlite3: simplify by using wx-config-${SLOT} symlink
This commit is contained in:
parent
d7baf7bd69
commit
f08ba28959
@ -40,7 +40,7 @@ src_configure() {
|
|||||||
econf \
|
econf \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-unicode \
|
--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-wxshared \
|
||||||
--with-sqlite3-prefix="/usr/$(exhost --target)" \
|
--with-sqlite3-prefix="/usr/$(exhost --target)" \
|
||||||
--includedir="/usr/$(exhost --target)/include/wx-${SLOT}/" \
|
--includedir="/usr/$(exhost --target)/include/wx-${SLOT}/" \
|
||||||
@ -58,7 +58,9 @@ src_install() {
|
|||||||
gtkver=2
|
gtkver=2
|
||||||
fi
|
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 \
|
edo sed \
|
||||||
-e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \
|
-e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \
|
||||||
-e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \
|
-e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \
|
||||||
|
Loading…
Reference in New Issue
Block a user