openjade: fix linkage with parallel build; patch from Debian.

This commit is contained in:
Juan RP 2015-05-07 20:37:49 +02:00
parent dcca46e023
commit 43494adae0
2 changed files with 12 additions and 5 deletions

View file

@ -0,0 +1,10 @@
--- Makefile.prog.in
+++ Makefile.prog.in
@@ -13,6 +13,7 @@
ALL_LIBS = $(XLIBS) $(LIBS)
Makefile.lt:
echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
+ echo '.PHONY: -losp' >>Makefile.lt
PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')

View file

@ -1,7 +1,7 @@
# Template file for 'openjade' # Template file for 'openjade'
pkgname=openjade pkgname=openjade
version=1.3.2 version=1.3.2
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--datadir=/usr/share/sgml/openjade --datadir=/usr/share/sgml/openjade
@ -9,7 +9,7 @@ configure_args="
--enable-splibdir=/usr/lib --enable-splibdir=/usr/lib
--enable-spincludedir=${XBPS_CROSS_BASE}/usr/include/OpenSP --enable-spincludedir=${XBPS_CROSS_BASE}/usr/include/OpenSP
--enable-splibdir=${XBPS_CROSS_BASE}/usr/lib" --enable-splibdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="automake gettext-devel libtool perl" hostmakedepends="perl"
makedepends="opensp-devel" makedepends="opensp-devel"
depends="xmlcatmgr" depends="xmlcatmgr"
sgml_entries="CATALOG /usr/share/sgml/openjade/catalog --" sgml_entries="CATALOG /usr/share/sgml/openjade/catalog --"
@ -20,9 +20,6 @@ license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz"
checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1 checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
pre_configure() {
autoreconf -fi config || true
}
post_install() { post_install() {
vlicense jadedoc/copying.txt vlicense jadedoc/copying.txt