Pārlūkot izejas kodu

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

Ralf S. Engelschall 24 gadi atpakaļ
vecāks
revīzija
41cb239d79
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      gd/gd.spec

+ 4 - 1
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} \