SOURCES: asterisk-txfax-Makefile.patch (NEW) - fixed

arekm arekm at pld-linux.org
Sun Jun 11 00:14:03 CEST 2006


Author: arekm                        Date: Sat Jun 10 22:14:03 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed

---- Files affected:
SOURCES:
   asterisk-txfax-Makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/asterisk-txfax-Makefile.patch
diff -u /dev/null SOURCES/asterisk-txfax-Makefile.patch:1.1
--- /dev/null	Sun Jun 11 00:14:03 2006
+++ SOURCES/asterisk-txfax-Makefile.patch	Sun Jun 11 00:13:58 2006
@@ -0,0 +1,26 @@
+--- Makefile.org	2006-06-10 22:05:42.747469000 +0000
++++ Makefile	2006-06-10 22:06:57.080114500 +0000
+@@ -54,6 +54,10 @@
+ APPS+=app_osplookup.so
+ endif
+ 
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),)
++APPS+=app_rxfax.so app_txfax.so
++endif
++
+ ifeq ($(findstring BSD,${OSARCH}),BSD)
+ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
+ endif
+@@ -102,6 +106,12 @@
+ app_curl.so: app_curl.o
+ 	$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
+ 
++app_rxfax.so : app_rxfax.o
++	$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
++
++app_txfax.so : app_txfax.o
++	$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
++
+ app_sql_postgres.o: app_sql_postgres.c
+ 	$(CC) -pipe -I$(CROSS_COMPILE_TARGET)/usr/local/pgsql/include -I$(CROSS_COMPILE_TARGET)/usr/include/postgresql $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
+ 
================================================================


More information about the pld-cvs-commit mailing list