diff --git a/srcpkgs/XQilla/template b/srcpkgs/XQilla/template index 60332880a23..3b4c80776ab 100644 --- a/srcpkgs/XQilla/template +++ b/srcpkgs/XQilla/template @@ -1,10 +1,10 @@ # Template file for 'XQilla' pkgname=XQilla version=2.3.3 -revision=2 +revision=3 _xercesc_ver=3.1.4 build_style=gnu-configure -configure_args="--with-xerces=${XBPS_DESTDIR}/${XBPS_CROSS_TRIPLET}/${pkgname}-${version}/usr" +configure_args="--with-xerces=${XBPS_BUILDDIR}/xerces-c-${_xercesc_ver}" short_desc="XQuery and XPath2 library and command line utility" maintainer="Leah Neukirchen " license="Apache-2.0" @@ -15,7 +15,7 @@ checksum="8f76b9b4f966f315acc2a8e104e426d8a76ba4ea3441b0ecfdd1e39195674fd6 9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891" pre_configure() { - local _args="--prefix=/usr --program-suffix=31" + local _args="--prefix=/usr --disable-shared" msg_normal "Building xerces-c-${_xercesc_ver} on the fly ..." cd ${XBPS_BUILDDIR}/xerces-c-${_xercesc_ver} @@ -23,9 +23,8 @@ pre_configure() { if [ -n "$CROSS_BUILD" ]; then _args+=" --host=${XBPS_CROSS_TRIPLET}" fi - ./configure ${_args} + ./configure ${_args} CPPFLAGS="-fPIC ${CPPFLAGS}" make ${makejobs} - make DESTDIR="${DESTDIR}" install # Back to XQilla cd ${wrksrc} @@ -38,10 +37,7 @@ XQilla-devel_package() { conflicts="xerces-c-devel>=0" pkg_install() { vmove usr/include - vmove usr/lib/pkgconfig vmove usr/lib/libxqilla*.so vmove usr/lib/libxqilla*.a - vmove usr/lib/libxerces-c.a - vmove usr/lib/libxerces-c.so } }