aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/microdc2
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-03-15 00:03:08 +0800
committerrafan <rafan@FreeBSD.org>2008-03-15 00:03:08 +0800
commit3f7e43cce99740bc8f9eb0b580381f760d65f165 (patch)
treec997c5de4ce478c38fc0528babcb1f9e9c68f5bb /net-p2p/microdc2
parent098f6c960e6d6dfe2863a6b3bdbb46f6dc8fcaca (diff)
downloadfreebsd-ports-gnome-3f7e43cce99740bc8f9eb0b580381f760d65f165.tar.gz
freebsd-ports-gnome-3f7e43cce99740bc8f9eb0b580381f760d65f165.tar.zst
freebsd-ports-gnome-3f7e43cce99740bc8f9eb0b580381f760d65f165.zip
Fix build with BSD ar(1).
Makefile of microdc2 mistakenly pass arguments which is intended for ld(1) to ar(1). GNU ar(1) treats those wrong args as filenames and issue a warning since "file" not exist, while BSD ar(1) treats them as invalid options and exits with error. PR: ports/121163 Reported by: erwin Submitted by: kaiw@ Approved by: maintainer timeout (16 days)
Diffstat (limited to 'net-p2p/microdc2')
-rw-r--r--net-p2p/microdc2/files/patch-lib-Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/microdc2/files/patch-lib-Makefile.in b/net-p2p/microdc2/files/patch-lib-Makefile.in
new file mode 100644
index 000000000000..57b9cb82fc8b
--- /dev/null
+++ b/net-p2p/microdc2/files/patch-lib-Makefile.in
@@ -0,0 +1,11 @@
+--- lib/Makefile.in.orig 2008-02-28 00:04:17.000000000 +0100
++++ lib/Makefile.in 2008-02-28 00:04:52.000000000 +0100
+@@ -259,7 +259,7 @@
+ 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@
+ 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) \