summaryrefslogtreecommitdiffstats
path: root/http/kazehakase/PRE_BUILD
blob: ebefc345ea9c81d4c5feac6bbc910e77213abb6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&


if [[ "${KZ_SCM}" == "y" ]]
then
  NOCONFIGURE=1 ./autogen.sh
fi &&
#Temporarily commented out in case it reappeards
#if [[ "${KZ_SCM}" == "y" ]]
#then
#  ln -s /usr/share/automake/mkinstalldirs mkinstalldirs
#fi

#patch to allow building with xulrunner 1.9.x
#              47_ldflags-rpath \

local dpatch
for dpatch in webkit-uri \
              05_thumb_filename-typo \
              07_xulrunner_init-sanity-check \
              10_link-gcrypt \
              15_kz-embed-process-pkglibexecdir \
              25_url-if-no-smartbookmarks \
              30_xulrunner-1.9.1 \
              35_PATH_MAX \
              40_AM_PATH_GLIB \
              42_gtk_action_disconnect_proxy \
              CVE-2007-1084 \
              43_AC_USE_SYSTEM_EXTENSIONS \
              45_link_gtk_libs \
              50_autoreconf \
              60_desktop-entry \
              90_xulrunner_1.9 \
              99_ltmain_as-needed \
              fix_type ; do
patch -p1 < $SPELL_DIRECTORY/$dpatch.dpatch || return 1
done &&
autoreconf -f