Hi,
I get an error when trying to build pkgsrc-current's pkgsrc/devel/libffi on
NetBSD 6.0/i386:
...
Making all in man
depbase=`echo src/x86/unix64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.
-I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude
-I../src -DFFI_BUILDING -g -O2 -MT src/x86/unix64.lo -MD -MP -MF $depbase.Tpo
-c -o src/x86/unix64.lo ../src/x86/unix64.S && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1
Stop.
The patch below gets things built - any objections to commit? Better solutions?
And while here - is "patch-Makefile.in" the right name these days?
- Hubert
% cat patches/patch-Makefile.in
$NetBSD$
--- Makefile.in.orig 2012-04-12 02:47:17.000000000 +0000
+++ Makefile.in
@@ -203,12 +203,12 @@ am__mv = mv -f
CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ --tag=CC --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
\
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail