summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-robcast-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mcl/files/patch-robcast-Makefile')
-rw-r--r--net/mcl/files/patch-robcast-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/mcl/files/patch-robcast-Makefile b/net/mcl/files/patch-robcast-Makefile
new file mode 100644
index 000000000000..f6f4a21f0e42
--- /dev/null
+++ b/net/mcl/files/patch-robcast-Makefile
@@ -0,0 +1,19 @@
+--- robcast/Makefile.orig Wed Oct 15 18:03:36 2003
++++ robcast/Makefile Wed Oct 15 17:33:36 2003
+@@ -29,6 +29,16 @@
+ LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+ endif
+
++ifeq (${OS},freebsd)
++ # FreeBSD version
++ # MCL library requires -pthread
++ #
++ BINDIR = ../bin/freebsd
++ LDPC_BINDIR = ../../ldpc/bin/freebsd
++ LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a
++ #LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
++endif
++
+
+ ###### Other variables ######
+