components/desktop/pidgin/Makefile
changeset 7920 8b0db4a22c23
parent 7779 76d3a92dbebb
equal deleted inserted replaced
7919:1f1a5eef7925 7920:8b0db4a22c23
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 BUILD_BITS= 64
    25 BUILD_BITS= 64
       
    26 COMPILER= gcc
    26 include ../../../make-rules/shared-macros.mk
    27 include ../../../make-rules/shared-macros.mk
    27 
    28 
    28 COMPONENT_NAME=		pidgin
    29 COMPONENT_NAME=		pidgin
    29 COMPONENT_VERSION=	2.12.0
    30 COMPONENT_VERSION=	2.12.0
    30 COMPONENT_PROJECT_URL=	http://www.pidgin.im
    31 COMPONENT_PROJECT_URL=	http://www.pidgin.im
    35 COMPONENT_ANITYA_ID=	3636
    36 COMPONENT_ANITYA_ID=	3636
    36 
    37 
    37 TPNO=			34232
    38 TPNO=			34232
    38 
    39 
    39 # Cyrus SASL is S12-only (at least for evaluation builds).
    40 # Cyrus SASL is S12-only (at least for evaluation builds).
    40 ifeq ($(BUILD_TYPE), evaluation)
    41 include $(WS_MAKE_RULES)/no-evaluation.mk
    41 BUILD_64=
       
    42 INSTALL_64=
       
    43 PUBLISH_STAMP=
       
    44 endif
       
    45 
    42 
    46 TEST_TARGET= $(NO_TESTS)
    43 TEST_TARGET= $(NO_TESTS)
    47 include $(WS_MAKE_RULES)/common.mk
    44 include $(WS_MAKE_RULES)/common.mk
    48 
    45 
    49 # Need to pick up the Studio compiler as some Makefiles just use "cc".
       
    50 # Need to pick up the GNU version of xgettext.
    46 # Need to pick up the GNU version of xgettext.
    51 PATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(GNUBIN):$(USRBINDIR)
    47 PATH=$(GNUBIN):$(USRBINDIR)
    52 
    48 
    53 CFLAGS +=		-DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
    49 CFLAGS +=		-DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
    54 
    50 
    55 COMPONENT_PREP_ACTION = \
    51 COMPONENT_PREP_ACTION = \
    56 	(cd $(@D) ; \
    52 	(cd $(@D) ; \
    64 
    60 
    65 # Needed to get libpurple to link properly.
    61 # Needed to get libpurple to link properly.
    66 LIBS += -lresolv
    62 LIBS += -lresolv
    67 CONFIGURE_ENV +=	LIBS="$(LIBS)"
    63 CONFIGURE_ENV +=	LIBS="$(LIBS)"
    68 
    64 
    69 CONFIGURE_ENV += "ac_cv_path_perlpath=$(PERL)"
    65 # Use perlgcc to use -fPIC (not -KPIC), -O4/-O3 (not -xO4/-xO3) and gcc
       
    66 # (not cc) in the two plugins/perl/common/Makefile's that are created from
       
    67 # Makefile.PL "templates".
       
    68 CONFIGURE_ENV += "ac_cv_path_perlpath=/usr/perl5/$(PERL_VERSION)/bin/perlgcc"
    70 
    69 
    71 CONFIGURE_OPTIONS +=	--enable-cyrus-sasl
    70 CONFIGURE_OPTIONS +=	--enable-cyrus-sasl
    72 CONFIGURE_OPTIONS +=	--enable-nss
    71 CONFIGURE_OPTIONS +=	--enable-nss
    73 CONFIGURE_OPTIONS +=	--with-nspr-includes=/usr/include/mps
    72 CONFIGURE_OPTIONS +=	--with-nspr-includes=/usr/include/mps
    74 CONFIGURE_OPTIONS +=	--with-nspr-libs=/usr/lib/mps/64
    73 CONFIGURE_OPTIONS +=	--with-nspr-libs=/usr/lib/mps/64