18 # fields enclosed by brackets "[]" replaced with your own identifying
  19 # information: Portions Copyright [yyyy] [name of copyright owner]
  20 #
  21 # CDDL HEADER END
  22 #
  23 #
  24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  25 # Use is subject to license terms.
  26 #
  27 # Load support functions
  28 . ../../lib/functions.sh
  29 
  30 PROG=dbus
  31 VER=1.6.8
  32 PKG=dbus ##IGNORE##
  33 SUMMARY="$PROG - IPC-based message notifications"
  34 DESC="$SUMMARY"
  35 
  36 DEPENDS_IPS="SUNWcs"
  37 
  38 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_REENTRANT"
  39 CONFIGURE_OPTS="--with-x=no --with-dbus-user=root --disable-static --with-dbus-daemondir=/usr/lib
  40         --bindir=/usr/bin --localstatedir=/var --libexecdir=/usr/libexec"
  41 
  42 # We build backwards here on purpose so that 32bit binaries win (for install collisions).
  43 build() {
  44     if [[ $BUILDARCH == "64" || $BUILDARCH == "both" ]]; then
  45         build64
  46     fi
  47     if [[ $BUILDARCH == "32" || $BUILDARCH == "both" ]]; then
  48         build32
  49     fi
  50 }
  51 
  52 make_prog64() {
  53     logcmd perl -pi -e 's#(\$CC.*\$compiler_flags)#$1 -nostdlib#g;' libtool ||
  54         logerr "libtool patch failed"
  55     logcmd gmake || logerr "Make failed"
  56 }
  57 
 
 | 
 
 
  18 # fields enclosed by brackets "[]" replaced with your own identifying
  19 # information: Portions Copyright [yyyy] [name of copyright owner]
  20 #
  21 # CDDL HEADER END
  22 #
  23 #
  24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  25 # Use is subject to license terms.
  26 #
  27 # Load support functions
  28 . ../../lib/functions.sh
  29 
  30 PROG=dbus
  31 VER=1.6.8
  32 PKG=dbus ##IGNORE##
  33 SUMMARY="$PROG - IPC-based message notifications"
  34 DESC="$SUMMARY"
  35 
  36 DEPENDS_IPS="SUNWcs"
  37 
  38 # Use old gcc4 standards level for this.
  39 CFLAGS="$CFLAGS -std=gnu89"
  40 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_REENTRANT"
  41 CONFIGURE_OPTS="--with-x=no --with-dbus-user=root --disable-static --with-dbus-daemondir=/usr/lib
  42         --bindir=/usr/bin --localstatedir=/var --libexecdir=/usr/libexec"
  43 
  44 # We build backwards here on purpose so that 32bit binaries win (for install collisions).
  45 build() {
  46     if [[ $BUILDARCH == "64" || $BUILDARCH == "both" ]]; then
  47         build64
  48     fi
  49     if [[ $BUILDARCH == "32" || $BUILDARCH == "both" ]]; then
  50         build32
  51     fi
  52 }
  53 
  54 make_prog64() {
  55     logcmd perl -pi -e 's#(\$CC.*\$compiler_flags)#$1 -nostdlib#g;' libtool ||
  56         logerr "libtool patch failed"
  57     logcmd gmake || logerr "Make failed"
  58 }
  59 
 
 |