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