aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/microdc2/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-14 16:03:08 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-14 16:03:08 +0000
commit4d57f0c92cfd3448658c7b5afc3c84552134fcc5 (patch)
tree97efce02396369182c2b3f8d5869f6d4c4ab3148 /net-p2p/microdc2/files
parentad60c9c1a4675d4e3774c64983471fb627bac7f7 (diff)
downloadports-4d57f0c92cfd3448658c7b5afc3c84552134fcc5.tar.gz
ports-4d57f0c92cfd3448658c7b5afc3c84552134fcc5.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)
Notes
Notes: svn path=/head/; revision=209046
Diffstat (limited to 'net-p2p/microdc2/files')
-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) \