source: gs2-extensions/gnome-lib/branches/macos-dev/src/packages/CASCADE-MAKE/LIBGSF.sh@ 34552

Last change on this file since 34552 was 34552, checked in by ak19, 3 years ago

Linking error on g_memmove(); rather than moving to a newer version of libgsf (which in turn might need package version updated to related g* packages such as glib, making use of -Dg_memmove=memmove to allow things to progress

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#!/bin/bash
2
3package=libgsf
4version=-1.14.18
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12export CFLAGS="$CFLAGS -DLIBXML_STATIC"
13
14export CFLAGS="-Dg_memmove=memmove $CFLAGS -I$GEXTGNOME_INSTALLED/include"
15export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
16export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
17export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
18
19osversion=`uname -r | sed 's/\..*$//'`;
20if [ "x$GSDLOS" = "xdarwin" -a $osversion -ge 11 ] ; then
21 export CFLAGS="$CFLAGS -framework Carbon -framework CoreFoundation -framework Security"
22 if [ -d /usr/local/lib/pkgconfig ] ; then
23 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
24 fi
25fi
26
27
28opt_run_untar $force_untar $auto_untar $package $version
29
30PARSERPATH=`find $prefix -name "Parser.pm"`
31PARSERDIR=`dirname $PARSERPATH`
32export PERL5LIB=`dirname $PARSERDIR`
33
34opt_run_configure $force_config $auto_config $package $version $prefix \
35 --without-python --without-gdk-pixbuf --disable-shared --enable-static
36
37opt_run_make $compile $package $version
38opt_run_make $install $package $version "install"
39opt_run_make $clean $package $version "clean"
40opt_run_make $distclean $package $version "distclean"
41
42opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.