From cdb8256f1be073ee580443f055cea42dfa4f0a8a Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 12 Aug 2014 15:29:37 +0000 Subject: Fix problems with missing libs when the linker enforces explicit linking (ports that are dependencies of other ports) net-p2p/transmission-cli: add USES=libtool and remove PTHREAD_LIBS sysutils/deltup: simplify patch by using MAKE_ARGS x11-fm/rox-filer: convert to USES=shared-mime-info x11-wm/emerald: remove PTHREAD_LIBS PR: 192062 --- print/libharu/Makefile | 3 +-- print/libharu/files/patch-demo_CMakeLists.txt | 10 +++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'print/libharu') diff --git a/print/libharu/Makefile b/print/libharu/Makefile index 56d45da4c4c5..bfce1f53ca0a 100644 --- a/print/libharu/Makefile +++ b/print/libharu/Makefile @@ -33,7 +33,6 @@ CMAKE_ARGS+= -DLIBHPDF_EXAMPLES:BOOL=ON \ .endif post-install: - ${LN} -s ${PREFIX}/lib/libhpdf.so \ - ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION} + ${LN} -s libhpdf.so ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION} .include diff --git a/print/libharu/files/patch-demo_CMakeLists.txt b/print/libharu/files/patch-demo_CMakeLists.txt index 012ebc791b10..7a1e3f425763 100644 --- a/print/libharu/files/patch-demo_CMakeLists.txt +++ b/print/libharu/files/patch-demo_CMakeLists.txt @@ -1,6 +1,14 @@ --- demo/CMakeLists.txt.orig 2013-11-18 14:51:59.000000000 +0100 +++ demo/CMakeLists.txt 2013-11-18 14:52:21.000000000 +0100 -@@ -86,15 +86,15 @@ +@@ -75,6 +75,7 @@ + set_target_properties(${demo} PROPERTIES COMPILE_FLAGS ${DEMO_C_FLAGS}) + endif(DEMO_C_FLAGS) + endforeach(demo) ++ target_link_libraries(text_demo2 m) + + # the grid_sheet demo needs extra defines + add_executable(grid_sheet grid_sheet.c) +@@ -86,15 +87,15 @@ # ======================================================================= install( TARGETS ${demos_NAMES} ${demos_with_grid_NAMES} grid_sheet -- cgit v1.2.3