summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2018-07-16 13:38:55 +0900
committerYoungbok Shin <youngb.shin@samsung.com>2018-07-16 13:42:18 +0900
commit890e025d16832b26fa5a6d7d3fee4b611c98b8cf (patch)
tree057327cc3f280d46d02dc1f91901b9f875b9ab52
parent49405e908b88c0ac3657910fe4b8a51355241258 (diff)
downloadfreetype2-accepted/tizen_5.0_unified.tar.gz
freetype2-accepted/tizen_5.0_unified.tar.bz2
freetype2-accepted/tizen_5.0_unified.zip
'freetype-config' was automatically created without any options. I thought it was removed from the latest freetype2. But, it was just disabled as default. It needs a explicit option to enable it. Change-Id: If3ad6010ea2cbfcff50af3f7261cabef7781f790
-rw-r--r--packaging/freetype2.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/freetype2.spec b/packaging/freetype2.spec
index 47cf465..a1c4a1c 100644
--- a/packaging/freetype2.spec
+++ b/packaging/freetype2.spec
@@ -53,7 +53,7 @@ cp %{SOURCE1001} .
export CFLAGS+=" -fstack-protector-strong -D_FORTIFY_SOURCE=2"
export LDFLAGS+=" -Wl,-z,relro"
-%configure --disable-static
+%configure --disable-static --enable-freetype-config
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
make %{?_smp_mflags}
@@ -110,5 +110,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
%{_datadir}/aclocal/freetype2.m4
%{_includedir}/freetype2/*
%{_libdir}/libfreetype.so
+%{_bindir}/freetype-config
%{_libdir}/pkgconfig/*.pc
-
+%{_datadir}/man/man1/*