Don't try to feed "-liconv" to ar(1). Fixes openbsd build.

This commit is contained in:
dholland 2015-11-08 21:50:08 +00:00
parent 1f271bdfe5
commit 7c76304126
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.5 2015/11/04 00:35:11 agc Exp $
$NetBSD: distinfo,v 1.6 2015/11/08 21:50:08 dholland Exp $
SHA1 (microdc2-0.15.6.tar.gz) = d39fedfb817203b70854aaff3a9e7fb2f2f317d2
RMD160 (microdc2-0.15.6.tar.gz) = c7e05994c9012f4774c1de6eaea7ee3225c63336
@ -7,3 +7,4 @@ Size (microdc2-0.15.6.tar.gz) = 639392 bytes
SHA1 (patch-aa) = 8801a9442911a6cdd3d154724db4ecc65965dd39
SHA1 (patch-ab) = 557541ae05484690002c7d9fa2f1533220ea190b
SHA1 (patch-ac) = 47ccedc9305c75f2926f4ff910345eeba0dc8478
SHA1 (patch-lib_Makefile.in) = a372774b18bf6fee385f3b621ddf0809fc9a4465

View file

@ -0,0 +1,15 @@
$NetBSD: patch-lib_Makefile.in,v 1.1 2015/11/08 21:50:08 dholland Exp $
Don't try to feed "-liconv" to ar(1). Breaks on OpenBSD.
--- lib/Makefile.in~ 2006-12-24 18:44:45.000000000 +0000
+++ lib/Makefile.in
@@ -259,7 +259,7 @@ libgnu_a_SOURCES = argmatch.h argmatch.c
version-etc.h version-etc.c xalloc-die.c xgethostname.h \
xgethostname.c xsize.h xstrndup.h xstrndup.c xstrtoumax.c \
xvasprintf.h xvasprintf.c xasprintf.c
-libgnu_a_LIBADD = @LIBOBJS@ @ALLOCA@ $(LTLIBICONV)
+libgnu_a_LIBADD = @LIBOBJS@ @ALLOCA@ #$(LTLIBICONV)
EXTRA_DIST = alloca_.h fnmatch_.h fnmatch_loop.c getopt_.h \
getopt_int.h stdbool_.h stdint_.h
BUILT_SOURCES = $(ALLOCA_H) $(FNMATCH_H) $(GETOPT_H) $(STDBOOL_H) \