summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-fcast-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mcl/files/patch-fcast-Makefile')
-rw-r--r--net/mcl/files/patch-fcast-Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/mcl/files/patch-fcast-Makefile b/net/mcl/files/patch-fcast-Makefile
new file mode 100644
index 000000000000..dce7b64a9811
--- /dev/null
+++ b/net/mcl/files/patch-fcast-Makefile
@@ -0,0 +1,28 @@
+--- fcast/Makefile.orig Tue Jul 22 19:43:25 2003
++++ fcast/Makefile Wed Oct 15 17:20:46 2003
+@@ -39,6 +39,14 @@
+
+ endif
+
++ifeq (${OS},freebsd)
++ # FreeBSD version
++ #
++ BINDIR = ../bin/freebsd
++ LDPC_BINDIR = ../../ldpc/bin/freebsd
++ LIBRARIES = -lm -pthread
++endif
++
+
+ ###### Other variables ######
+
+@@ -76,8 +84,8 @@
+ # codec in use: if LDPC is used, then add the libbdpc.a library.
+ # If only RSE is used and if you don't have the LDPC archive, then
+ # remove the libbdpc.a library.
+-#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a
+-alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
++alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a
++#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+ alc: TARGET_FCAST = ${BINDIR}/fcast
+ #alc: all
+