Subject: textproc/xmlrpc-c and MAKE_JOBS
To: None <pkgsrc-users@netbsd.org>
From: Rumko <rumcic@gmail.com>
List: pkgsrc-users
Date: 12/07/2007 21:35:41
--nextPart2079934.1XrpdZnxFH
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

The bug is reproducable but only happens every second try, without MAKE_JOBS (I
had it set to 2) it compiles without problems all the time.

.: Can't open ../xmltok/libxmlrpc_xmltok.la: No such file or directory
libtool: link: cannot find the library `../xmltok/libxmlrpc_xmltok.la' or
unhandled argument `../xmltok/libxmlrpc_xmltok.la'
gmake[3]: *** [libxmlrpc_xmlparse.la] Error 1

I vote for MAKE_JOBS_SAFE=no, see attached patch.

--nextPart2079934.1XrpdZnxFH
Content-Type: text/x-diff; name="xmlrpc-c.patch"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="xmlrpc-c.patch"

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xmlrpc-c/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile	26 Feb 2007 21:03:12 -0000	1.4
+++ Makefile	7 Dec 2007 20:22:30 -0000
@@ -17,6 +17,8 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 MAKE_FILE=	GNUmakefile
 
+MAKE_JOBS_SAFE=	no
+
 SUBST_CLASSES+=	pthread
 SUBST_FILES.pthread=	xmlrpc-c-config.in xmlrpc-c-config.test.in
 PTHREAD_LINKFLAGS=	${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}


--nextPart2079934.1XrpdZnxFH--