Makefile revision 5914
0N/A#
1472N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A
0N/A#
0N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/ABUILD_BITS= 64
0N/Ainclude ../../../make-rules/shared-macros.mk
113N/A
113N/ACOMPONENT_NAME= pidgin
0N/ACOMPONENT_VERSION= 2.10.11
0N/ACOMPONENT_PROJECT_URL= http://www.pidgin.im
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007
0N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
0N/A
0N/ATPNO= 21690
518N/A
0N/A# Cyrus SASL is S12-only (at least for evaluation builds).
0N/Aifeq ($(BUILD_TYPE), evaluation)
0N/ABUILD_64=
0N/AINSTALL_64=
0N/APUBLISH_STAMP=
0N/Aendif
0N/A
0N/ATEST_TARGET= $(NO_TESTS)
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
113N/A# Need to pick up the Studio compiler as some Makefiles just use "cc".
0N/A# Need to pick up the GNU version of xgettext.
0N/APATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(GNUBIN):$(USRBINDIR)
518N/A
518N/ACFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
0N/A
0N/ACOMPONENT_PREP_ACTION = \
0N/A (cd $(@D) ; \
0N/A glib-gettextize -f ; \
0N/A libtoolize --force ; \
0N/A intltoolize --force --copy --automake ; \
0N/A aclocal -I . ; \
0N/A autoheader ; \
0N/A automake -a -c -f ; \
0N/A autoconf )
113N/A
113N/A# Needed to get libpurple to link properly.
113N/ALIBS += -lresolv
113N/ACONFIGURE_ENV += LIBS="$(LIBS)"
113N/ACONFIGURE_ENV += PKG_CONFIG_PATH=$(PKG_CONFIG_PATH.64)/gnutls-3
0N/A
0N/ACONFIGURE_ENV += "ac_cv_path_perlpath=$(PERL)"
1155N/A
1155N/ACONFIGURE_OPTIONS += --enable-cyrus-sasl
0N/ACONFIGURE_OPTIONS += --disable-nss
0N/ACONFIGURE_OPTIONS += --enable-gnutls
0N/ACONFIGURE_OPTIONS += --with-gnutls-includes=$(USRINCDIR)/gnutls-3
0N/ACONFIGURE_OPTIONS += --with-gnutls-libs=$(USRLIBDIR64)/gnutls-3
0N/ACONFIGURE_OPTIONS += --enable-gnome-keyring
0N/ACONFIGURE_OPTIONS += --disable-gevolution
0N/ACONFIGURE_OPTIONS += --enable-cap
0N/ACONFIGURE_OPTIONS += --disable-meanwhile
0N/ACONFIGURE_OPTIONS += --disable-nm
0N/ACONFIGURE_OPTIONS += --disable-consoleui
0N/ACONFIGURE_OPTIONS += --disable-vv
0N/A# 23200148 undo this once 23169155 Move developer/gnome/gettext to Userland
0N/ACONFIGURE_OPTIONS += INTLTOOL_MERGE="$(PERL) /usr/bin/intltool-merge"
0N/A
0N/A# Always show the build and link lines for easier debugging.
COMPONENT_BUILD_ARGS += V=1
REQUIRED_PACKAGES += database/sqlite-3
REQUIRED_PACKAGES += library/audio/gstreamer
REQUIRED_PACKAGES += library/desktop/atk
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gtk2
REQUIRED_PACKAGES += library/desktop/gtkspell
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/gnome/gnome-keyring
REQUIRED_PACKAGES += library/gnutls-3
REQUIRED_PACKAGES += library/libidn
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/perl-5/xml-parser
REQUIRED_PACKAGES += library/python/python-dbus-27
REQUIRED_PACKAGES += $(PERL_PKG)
REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += runtime/tcl-8
REQUIRED_PACKAGES += runtime/tk-8
REQUIRED_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