Makefile revision 6637
200N/A#
200N/A# CDDL HEADER START
200N/A#
200N/A# The contents of this file are subject to the terms of the
200N/A# Common Development and Distribution License (the "License").
200N/A# You may not use this file except in compliance with the License.
200N/A#
200N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
200N/A# or http://www.opensolaris.org/os/licensing.
200N/A# See the License for the specific language governing permissions
200N/A# and limitations under the License.
200N/A#
200N/A# When distributing Covered Code, include this CDDL HEADER in each
200N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
200N/A# If applicable, add the following below this CDDL HEADER, with the
200N/A# fields enclosed by brackets "[]" replaced with your own identifying
200N/A# information: Portions Copyright [yyyy] [name of copyright owner]
200N/A#
200N/A# CDDL HEADER END
200N/A#
200N/A
200N/A#
3817N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
200N/A#
200N/ABUILD_BITS= 64
200N/Ainclude ../../../make-rules/shared-macros.mk
200N/A
200N/ACOMPONENT_NAME= pidgin
200N/ACOMPONENT_VERSION= 2.11.0
618N/ACOMPONENT_PROJECT_URL= http://www.pidgin.im
200N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
200N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:f72613440586da3bdba6d58e718dce1b2c310adf8946de66d8077823e57b3333
844N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
200N/A
200N/ATPNO= 30500
844N/A
844N/A# Cyrus SASL is S12-only (at least for evaluation builds).
200N/Aifeq ($(BUILD_TYPE), evaluation)
200N/ABUILD_64=
844N/AINSTALL_64=
844N/APUBLISH_STAMP=
200N/Aendif
200N/A
844N/ATEST_TARGET= $(NO_TESTS)
844N/Ainclude $(WS_MAKE_RULES)/common.mk
200N/A
200N/A# Need to pick up the Studio compiler as some Makefiles just use "cc".
844N/A# Need to pick up the GNU version of xgettext.
844N/APATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(GNUBIN):$(USRBINDIR)
200N/A
200N/ACFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
844N/A
844N/ACOMPONENT_PREP_ACTION = \
200N/A (cd $(@D) ; \
200N/A glib-gettextize -f ; \
1258N/A libtoolize --force ; \
1258N/A intltoolize --force --copy --automake ; \
2899N/A aclocal -I . ; \
2899N/A autoheader ; \
3817N/A automake -a -c -f ; \
3817N/A autoconf )
3817N/A
3817N/A# Needed to get libpurple to link properly.
200N/ALIBS += -lresolv
206N/ACONFIGURE_ENV += LIBS="$(LIBS)"
200N/A
206N/A# Look for gnutls-3 pkg-config & libraries before the defaults
206N/APKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
200N/ALDFLAGS += -L$(USRLIBDIR64)/gnutls-3
206N/A
200N/ACONFIGURE_ENV += "ac_cv_path_perlpath=$(PERL)"
200N/A
200N/ACONFIGURE_OPTIONS += --enable-cyrus-sasl
200N/ACONFIGURE_OPTIONS += --disable-nss
200N/ACONFIGURE_OPTIONS += --enable-gnutls
200N/ACONFIGURE_OPTIONS += --with-gnutls-includes=$(USRINCDIR)/gnutls-3
200N/ACONFIGURE_OPTIONS += --with-gnutls-libs=$(USRLIBDIR64)/gnutls-3
200N/ACONFIGURE_OPTIONS += --enable-gnome-keyring
200N/ACONFIGURE_OPTIONS += --disable-gevolution
200N/ACONFIGURE_OPTIONS += --enable-cap
200N/ACONFIGURE_OPTIONS += --disable-meanwhile
200N/ACONFIGURE_OPTIONS += --disable-nm
200N/ACONFIGURE_OPTIONS += --disable-consoleui
200N/ACONFIGURE_OPTIONS += --disable-vv
200N/A# 23200148 undo this once 23169155 Move developer/gnome/gettext to Userland
200N/ACONFIGURE_OPTIONS += INTLTOOL_MERGE="$(PERL) /usr/bin/intltool-merge"
200N/A
200N/A# Always show the build and link lines for easier debugging.
200N/ACOMPONENT_BUILD_ARGS += V=1
4086N/A
200N/A# Prevent build problems with package_revision.h with "hg id ..." in the main
200N/A# pidgin Makefile, if the user has color.mode=terminfo in their ~/.hgrc file.
200N/ACOMPONENT_BUILD_ARGS += HGPLAIN=
4086N/ACOMPONENT_BUILD_ARGS += HGRCPATH=/dev/null
200N/A
1938N/AREQUIRED_PACKAGES += database/sqlite-3
1938N/AREQUIRED_PACKAGES += library/audio/gstreamer
206N/AREQUIRED_PACKAGES += library/desktop/atk
206N/AREQUIRED_PACKAGES += library/desktop/cairo
206N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
200N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
3477N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-good
3477N/AREQUIRED_PACKAGES += library/desktop/gtk2
200N/AREQUIRED_PACKAGES += library/desktop/gtkspell
200N/AREQUIRED_PACKAGES += library/desktop/pango
206N/AREQUIRED_PACKAGES += library/glib2
200N/AREQUIRED_PACKAGES += library/gnome/gnome-keyring
200N/AREQUIRED_PACKAGES += library/gnutls-3
200N/AREQUIRED_PACKAGES += library/libidn
4337N/AREQUIRED_PACKAGES += library/libxml2
4337N/AREQUIRED_PACKAGES += library/perl-5/xml-parser
200N/AREQUIRED_PACKAGES += library/python/python-dbus-27
3817N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += runtime/python-27
3817N/AREQUIRED_PACKAGES += runtime/tcl-8
3817N/AREQUIRED_PACKAGES += runtime/tk-8
3817N/AREQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library/libdbus
REQUIRED_PACKAGES += system/library/libdbus-glib
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/library/security/libsasl2
REQUIRED_PACKAGES += system/network/avahi
REQUIRED_PACKAGES += x11/library/libice
REQUIRED_PACKAGES += x11/library/libsm
REQUIRED_PACKAGES += x11/library/libx11
REQUIRED_PACKAGES += x11/library/libxext
REQUIRED_PACKAGES += x11/library/libxscrnsaver