Magellan Linux

Diff of /trunk/include/kde3.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/core/include/kde3.sminc revision 2 by niro, Fri Oct 10 13:29:42 2008 UTC trunk/include/kde3.sminc revision 9880 by niro, Sat Jan 14 01:48:34 2012 UTC
# Line 1  Line 1 
1  # $Header: /magellan-cvs/smage/include/kde3.sminc,v 1.17 2006/09/02 11:36:08 niro Exp $  # $Id$
2    
3    sminclude qt3
4    
5  ## some global vars ##  ## some global vars ##
6  export QTDIR=/usr  export KDEDIR=/opt/kde3
7  export KDEDIR=/usr  export KDECONFDIR=/etc/kde3
 export KDECONFDIR=/etc  
8    
9  # fixes some compile issues ala "kde-config: command not found"  # fixes some compile issues ala "kde-config: command not found"
10  export PATH="${KDEDIR}/bin:${PATH}"  export PATH="${KDEDIR}/bin:${PATH}"
# Line 14  export PKG_CONFIG_PATH=${PKG_CONFIG_PATH Line 15  export PKG_CONFIG_PATH=${PKG_CONFIG_PATH
15  # so we prevent this:  # so we prevent this:
16  export KDEDIRS=${KDEDIR}  export KDEDIRS=${KDEDIR}
17    
18  kde3_configure() {  # the configure checks for kconfig_compiler do not respect PATH
19    export KCONFIG_COMPILER="${KDEDIR}/bin/kconfig_compiler"
20    
21    # autoconf-2.64 breaks the buildsystem of kde3.5
22    # see: http://blog.flameeyes.eu/2009/07/28/having-fun-with-autoconf-2-64
23    # and: https://bugs.gentoo.org/show_bug.cgi?id=279482
24    # suggested workarounds are not working, so we call autoconf-2.63 here:
25    export WANT_AUTOCONF="2.63"
26    
27    kde3_configure()
28    {
29   local configure_opts   local configure_opts
30    
31   # use --enable-final only on i*86   # use --enable-final only on i*86
# Line 60  kde3_src_compile() Line 71  kde3_src_compile()
71   mmake || die   mmake || die
72  }  }
73    
74  kde3_src_install() {  kde3_src_install()
75    {
76   cd ${SRCDIR}   cd ${SRCDIR}
77    
78   mmake DESTDIR=${BINDIR} ${KDE3_MAKE_OPTS} install || die   mmake DESTDIR=${BINDIR} ${KDE3_MAKE_OPTS} install || die

Legend:
Removed from v.2  
changed lines
  Added in v.9880