File no-copy-dt-needed-entries.patch of Package gl2ps
--- CMakeLists.txt.orig 2011-08-14 20:15:31.000000000 +0300
+++ CMakeLists.txt 2012-03-18 18:45:39.057686046 +0200
@@ -134,9 +134,9 @@
if(GLUT_FOUND)
add_executable(gl2psTest WIN32 gl2psTest.c)
- target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES})
+ target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES} -lm)
add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c)
- target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES})
+ target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES} -lm)
endif(GLUT_FOUND)
find_package(LATEX)