summaryrefslogtreecommitdiff
path: root/comms/unixcw/files/patch-src_libcw_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'comms/unixcw/files/patch-src_libcw_Makefile.in')
-rw-r--r--comms/unixcw/files/patch-src_libcw_Makefile.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/comms/unixcw/files/patch-src_libcw_Makefile.in b/comms/unixcw/files/patch-src_libcw_Makefile.in
new file mode 100644
index 000000000000..8e2f2a30cf18
--- /dev/null
+++ b/comms/unixcw/files/patch-src_libcw_Makefile.in
@@ -0,0 +1,36 @@
+--- src/libcw/Makefile.in.orig 2013-01-11 13:29:34.000000000 -0500
++++ src/libcw/Makefile.in 2013-12-28 16:17:07.533315780 -0500
+@@ -324,7 +324,7 @@
+
+ # target-specific linker flags (objects to link)
+ # libcw_la_LIBADD=-lm -lpthread $(AC_ALSA_LIBS) $(AC_PULSEAUDIO_LIBS)
+-libcw_la_LIBADD = -lm -lpthread -ldl
++libcw_la_LIBADD = -lm -lpthread
+
+ # target-specific linker flags (additional flags)
+ # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+@@ -355,13 +355,13 @@
+ libcwunittests_CPPFLAGS = $(AM_CPPFLAGS) -DLIBCW_UNIT_TESTS
+
+ # target-specific linker flags (objects to link)
+-libcwunittests_LDADD = -lm -lpthread -ldl
++libcwunittests_LDADD = -lm -lpthread
+
+ # target-specific compiler flags
+ libcwunittests_CFLAGS = -rdynamic
+
+ # target: libcw.pc
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = ${prefix}/libdata/pkgconfig
+
+ # CLEANFILES extends list of files that need to be removed when
+ # calling "make clean"
+@@ -1114,7 +1114,7 @@
+ rm -f signatures functions
+
+ standalone:
+- gcc -O0 -g -DHAVE_CONFIG_H -std=c99 -I. -I../../src -I../../src/ -I../../src/libcw/ -I../../src/cwutils/ -DLIBCW_WITH_DEV -DLIBCW_STANDALONE -DLIBCW_WITH_PULSEAUDIO -DLIBCW_WITH_OSS -DLIBCW_WITH_ALSA -DLIBCW_WITH_CONSOLE libcw.c libcw_console.c libcw_null.c libcw_pa.c libcw_debug.c libcw_oss.c libcw_alsa.c -lm -ldl -lpthread
++ gcc -O0 -g -DHAVE_CONFIG_H -std=c99 -I. -I../../src -I../../src/ -I../../src/libcw/ -I../../src/cwutils/ -DLIBCW_WITH_DEV -DLIBCW_STANDALONE -DLIBCW_WITH_PULSEAUDIO -DLIBCW_WITH_OSS -DLIBCW_WITH_ALSA -DLIBCW_WITH_CONSOLE libcw.c libcw_console.c libcw_null.c libcw_pa.c libcw_debug.c libcw_oss.c libcw_alsa.c -lm -lpthread
+ greptest.sh:
+ echo './libcwunittests | grep "test result: success"' > greptest.sh
+ chmod +x greptest.sh