1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/mbone/mcl/files/patch-flute-Makefile
Pav Lucistnik c5093c3118 - Update to 2.99.1
Changes in software:
- vendor's bugfixes
- new FLUTE support
- new dependencies in gdome-2 and glib20
- properly install the shared library and headers
- replace -pthread with $PTHREAD_LIBS
- fix compilation warnings due to C++ headers in -current

PR:		ports/61068
Submitted by:	Panagiotis Astithas <past@noc.ntua.gr> (maintainer)
2004-01-09 00:12:51 +00:00

53 lines
2.0 KiB
Plaintext

--- flute/Makefile.orig Wed Nov 26 17:18:21 2003
+++ flute/Makefile Wed Jan 7 12:38:28 2004
@@ -36,6 +36,18 @@
endif
+ifeq (${OS},freebsd)
+ # FreeBSD version:
+ # CC requires: -mt -lpthread for multithreaded applications
+ # NB: mpatrol not installed !
+ #
+ BINDIR = ../bin/freebsd
+ LDPC_BINDIR = ../../ldpc/bin/freebsd
+ LIBRARIES = -lm -pthread -lglib-2.0 -lgdome -lxml2 -L/usr/local/lib
+ # added -I/usr/local/include for libgdome header files
+ ADD_INCLUDES = -I/usr/local/include/ -I/usr/local/include/glib-2.0/ -I/usr/local/include/libgdome/
+endif
+
###### Other variables ######
@@ -73,24 +85,24 @@
# 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_FLUTE = ${BINDIR}/flute
#alc: all
alc_pure: RM_PROTOCOL = ALC
# Edit the following two lines as appropriate, according to the FEC
# codec in use: if LDPC is used, then add the libbdpc.a library.
-#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a
-alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a
+#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
alc_pure: TARGET_FLUTE = ${BINDIR}/flute
alc_pure: pure
alc_quantify: RM_PROTOCOL = ALC
# Edit the following two lines as appropriate, according to the FEC
# codec in use: if LDPC is used, then add the libbdpc.a library.
-#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a
-alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
+alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a
+#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a
alc_quantify: TARGET_FLUTE = ${BINDIR}/flute
alc_quantify: quantify