|
|
|
@ -66,11 +66,10 @@ Provides: GD
|
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^\(#define DEFAULT_FONTPATH\).*$;\1 "%{l_prefix}/share/fonts/truetype";' \ |
|
|
|
|
gd.h |
|
|
|
|
case "%{l_target}" in |
|
|
|
|
*-freebsd5*) %{l_shtool} subst \ |
|
|
|
|
-e 's;^#include <malloc.h>*$;#include <stdlib.h>;' \ |
|
|
|
|
gdcache.h;; |
|
|
|
|
esac |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^#include <malloc.h>*$;#include <stdlib.h>;' \ |
|
|
|
|
gdcache.h |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
%{l_make} %{l_mflags} \ |
|
|
|
|