Browse Source

Fixed default font path which pointed outside of OpenPKG hierarchy. Assuming now %{l_prefix}/share/fonts/truetype/ as the default directory for TrueType fonts.

master
parent
commit
41cb239d79
  1. 5
      gd/gd.spec

5
gd/gd.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
Group: Graphics
License: GPL
Version: 2.0.1
Release: 20011201
Release: 20020129
# list of sources
Source0: ftp://ftp.boutell.com/pub/boutell/gd/gd-%{version}.tar.gz
@ -61,6 +61,9 @@ AutoReqProv: no
's;install:.*;install:;' \
's;--verbose;;' \
-- Makefile
%{l_rpmtool} subst \
's;^\(#define DEFAULT_FONTPATH\).*$;\1 "%{l_prefix}/share/fonts/truetype";' \
-- gd.h
%build
%{l_make} %{l_mflags} \

Loading…
Cancel
Save