#17654: oldpackages / rrdtool fails to compile - freetype missing?
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by moguai_xl@…):

 Hi,

 I had the same problem. I wrote script/patch which solved my problem.

 {{{
 $ cat rrdtool-1.2.30-freetype2.sh
 #!/bin/bash

 cat << "EOF" > rrdtool-1.2.30-freetype2.patch
 --- feeds/oldpackages/utils/rrdtool/Makefile.orig       2014-08-28
 16:58:12.311008846 +0200
 +++ feeds/oldpackages/utils/rrdtool/Makefile    2014-08-28
 16:53:36.907016983 +0200
 @@ -75,6 +75,7 @@
         --disable-ruby \
         --without-x \
         --with-rrd-default-font="/usr/share/rrdtool/fonts/DejaVuSansMono-
 Roman.ttf" \
 +        CPPFLAGS="-I $(STAGING_DIR)/usr/include/freetype2" \

  CONFIGURE_VARS += \
         rd_cv_ieee_works=yes \
 EOF

 cp feeds/oldpackages/utils/rrdtool/Makefile
 feeds/oldpackages/utils/rrdtool/Makefile.orig
 patch -p0 < rrdtool-1.2.30-freetype2.patch
 }}}

 Script should be run from 'openwrt' directory.

 Regards,
 Piotr

--
Ticket URL: <https://dev.openwrt.org/ticket/17654#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to