Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 13:48:06 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370775 - head/print/libharu/files
Message-ID:  <201410131348.s9DDm6mp053903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Oct 13 13:48:05 2014
New Revision: 370775
URL: https://svnweb.freebsd.org/changeset/ports/370775
QAT: https://qat.redports.org/buildarchive/r370775/

Log:
  - Some demos need to be linked against libm.so
  
  Approved by:	maintainer

Modified:
  head/print/libharu/files/patch-demo_CMakeLists.txt

Modified: head/print/libharu/files/patch-demo_CMakeLists.txt
==============================================================================
--- head/print/libharu/files/patch-demo_CMakeLists.txt	Mon Oct 13 13:36:56 2014	(r370774)
+++ head/print/libharu/files/patch-demo_CMakeLists.txt	Mon Oct 13 13:48:05 2014	(r370775)
@@ -1,5 +1,23 @@
---- demo/CMakeLists.txt.orig	2013-11-18 14:51:59.000000000 +0100
-+++ demo/CMakeLists.txt	2013-11-18 14:52:21.000000000 +0100
+--- demo/CMakeLists.txt.orig	2013-10-30 14:11:59.000000000 +0100
++++ demo/CMakeLists.txt	2014-10-13 10:52:19.000000000 +0200
+@@ -61,7 +61,7 @@
+   # =======================================================================
+   foreach(demo ${demos_NAMES})
+     add_executable(${demo} ${demo}.c)
+-    target_link_libraries(${demo} ${_LIBHPDF_LIB})
++    target_link_libraries(${demo} ${_LIBHPDF_LIB} m)
+     if(DEMO_C_FLAGS)
+       set_target_properties(${demo} PROPERTIES COMPILE_FLAGS ${DEMO_C_FLAGS})
+     endif(DEMO_C_FLAGS)
+@@ -70,7 +70,7 @@
+   # some demos need grid_sheet.c compiled in
+   foreach(demo ${demos_with_grid_NAMES})
+     add_executable(${demo} ${demo}.c grid_sheet.c)
+-    target_link_libraries(${demo} ${_LIBHPDF_LIB})
++    target_link_libraries(${demo} ${_LIBHPDF_LIB} m)
+     if(DEMO_C_FLAGS)
+       set_target_properties(${demo} PROPERTIES COMPILE_FLAGS ${DEMO_C_FLAGS})
+     endif(DEMO_C_FLAGS)
 @@ -75,6 +75,7 @@
        set_target_properties(${demo} PROPERTIES COMPILE_FLAGS ${DEMO_C_FLAGS})
      endif(DEMO_C_FLAGS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410131348.s9DDm6mp053903>