Last change
on this file since 27224 was 27197, checked in by ak19, 11 years ago |
Needed to make changes to 2 packages to get gnome-lib src code to compile on mac/darwin (rata): libxml2-2.9.0/threads.c file (2 changes) and the file glib-2.28.1/glib/gatomic.c (1 change). The changes are headed by comments marked with the word Greenstone. Because of these changes, the tar files containing the two affected packages are renamed with the gs- prefix to indicate they have been customised for Greenstone. I won't be deleting the original tar files of the packages yet, not until I have confirmed that things still compile on Linux with these changes.
|
-
Property svn:executable
set to
*
|
File size:
700 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # libxml2.2.9.0 was modified for Greenstone to allow compilation to succeed on a Mac, so it has acquired a 'gs-' prefix
|
---|
4 | package=gs-libxml2
|
---|
5 | version=-2.9.0
|
---|
6 |
|
---|
7 | progname=$0
|
---|
8 |
|
---|
9 | source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
|
---|
10 |
|
---|
11 | prefix=$GEXTGNOME_INSTALLED
|
---|
12 |
|
---|
13 | export CFLAGS="$CFLAGS -DLIBXML_STATIC"
|
---|
14 |
|
---|
15 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
16 | opt_run_configure $force_config $auto_config $package $version $prefix \
|
---|
17 | --without-python
|
---|
18 |
|
---|
19 | opt_run_make $compile $package $version
|
---|
20 | opt_run_make $install $package $version "install"
|
---|
21 | opt_run_make $clean $package $version "clean"
|
---|
22 | opt_run_make $distclean $package $version "distclean"
|
---|
23 |
|
---|
24 | opt_run_tarclean $tarclean $package $version |
---|
Note:
See
TracBrowser
for help on using the repository browser.