File HeeksCNC-0.5.1svn337-build.diff of Package HeeksCNC
diff -U 3 -H -d -r -N -- heekscnc.orig/src/Makefile heekscnc/src/Makefile
--- heekscnc.orig/src/Makefile 2009-05-03 12:19:48.000000000 +0300
+++ heekscnc/src/Makefile 2014-03-22 17:54:47.488162391 +0300
@@ -23,7 +23,7 @@
SHARED_LIBRARY=../libheekscnc.so.0.5.1
${SHARED_LIBRARY}: $(heekspathmessage) ${OBJECTS}
- gcc -shared -fPIC -Wl,-soname,libheekscnc.so.0 -o ${SHARED_LIBRARY} ${OBJECTS} -lstdc++ -lGLU -lGL -lwx_gtk2${WX_LIB_LETTER}_richtext-2.8 -lwx_gtk2${WX_LIB_LETTER}_aui-2.8 -lwx_gtk2${WX_LIB_LETTER}_xrc-2.8 -lwx_gtk2${WX_LIB_LETTER}_qa-2.8 -lwx_gtk2${WX_LIB_LETTER}_html-2.8 -lwx_gtk2${WX_LIB_LETTER}_adv-2.8 -lwx_gtk2${WX_LIB_LETTER}_core-2.8 -lwx_base${WX_LIB_LETTER}_xml-2.8 -lwx_base${WX_LIB_LETTER}_net-2.8 -lwx_base${WX_LIB_LETTER}-2.8 -lwx_gtk2${WX_LIB_LETTER}_gl-2.8
+ gcc -shared -fPIC -Wl,-soname,libheekscnc.so.0 -o ${SHARED_LIBRARY} ${OBJECTS} `wx-config --libs`
#print a message if HEEKSCADPATH is not set
#use escape sequences for colors. Z gets translated to \033