diff --git a/srcpkgs/uwsgi/template b/srcpkgs/uwsgi/template index 4f59ce197fc..9a795e97075 100644 --- a/srcpkgs/uwsgi/template +++ b/srcpkgs/uwsgi/template @@ -13,8 +13,9 @@ checksum=75a7d3138cfa9cd81a760c2f8a43f3d80961edc8e4f27043dc1412206c926287 _libdir=usr/lib/uwsgi +subpackages="uwsgi-python uwsgi-python3.4" case "$XBPS_TARGET_MACHINE" in - armv[67]l-musl) broken="http://build.voidlinux.eu/builders/armv7l-musl_builder/builds/2741/steps/shell_3/logs/stdio";; + armv[67]l-musl) subpackages="uwsgi-python" esac pre_configure() { @@ -45,8 +46,12 @@ do_build() { _ldflags="$LDFLAGS -L${XBPS_CROSS_BASE}/lib/python3.4m -L${XBPS_CROSS_BASE}/usr/lib" fi - CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \ - --plugin plugins/python core python3 + case "$subpackages" in + *uwsgi-python3.4*) + CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \ + --plugin plugins/python core python3 + ;; + esac } do_install() {