components/irssi/Makefile
changeset 5357 76a31ece4c74
parent 5225 d3c7046a4000
child 5638 b88b6c00208e
equal deleted inserted replaced
5356:94c0413a88fc 5357:76a31ece4c74
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=         irssi
    28 COMPONENT_NAME=         irssi
    44 ASLR_MODE = $(ASLR_ENABLE)
    44 ASLR_MODE = $(ASLR_ENABLE)
    45 
    45 
    46 # Part of the build just runs "cc" (not the path that configure finds).
    46 # Part of the build just runs "cc" (not the path that configure finds).
    47 COMPONENT_BUILD_ENV +=  PATH=$(dir $(CC)):$(PATH)
    47 COMPONENT_BUILD_ENV +=  PATH=$(dir $(CC)):$(PATH)
    48 
    48 
       
    49 # Need 64-bit perl.
       
    50 PERL_VERSION = 5.20
       
    51 
       
    52 CONFIGURE_ENV += "ac_cv_path_perlpath=/usr/perl5/$(PERL_VERSION)/bin/perl"
       
    53 
       
    54 # Architecture specific perl subdirectory.
       
    55 PERL_ARCH_i386 = i86pc
       
    56 PERL_ARCH_sparc = sun4
       
    57 PERL_ARCH = $(PERL_ARCH_$(MACH))-solaris-thread-multi-64
       
    58 
       
    59 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
       
    60 
       
    61 CONFIGURE_OPTIONS +=	--bindir=/usr/bin
    49 CONFIGURE_OPTIONS +=    --sysconfdir=/etc
    62 CONFIGURE_OPTIONS +=    --sysconfdir=/etc
    50 CONFIGURE_OPTIONS +=    --with-perl=yes
    63 CONFIGURE_OPTIONS +=    --with-perl=yes
    51 CONFIGURE_OPTIONS +=    --with-proxy
    64 CONFIGURE_OPTIONS +=    --with-proxy
    52 CONFIGURE_OPTIONS +=    --with-perl-lib=/usr/perl5/vendor_perl/$(PERL_VERSION)
    65 CONFIGURE_OPTIONS +=    --with-perl-lib=/usr/perl5/vendor_perl/$(PERL_VERSION)
    53 
    66 
    54 configure:	$(CONFIGURE_32)
    67 configure:	$(CONFIGURE_64)
    55 
    68 
    56 build:          $(BUILD_32)
    69 build:          $(BUILD_64)
    57 
    70 
    58 install:        $(INSTALL_32)
    71 install:        $(INSTALL_64)
    59 
    72 
    60 test:           $(NO_TESTS)
    73 test:           $(NO_TESTS)
    61 
    74 
    62 system-test:    $(NO_TESTS)
    75 system-test:    $(NO_TESTS)
    63 
    76 
    64 REQUIRED_PACKAGES += library/glib2
    77 REQUIRED_PACKAGES += library/glib2
    65 REQUIRED_PACKAGES += library/ncurses
    78 REQUIRED_PACKAGES += library/ncurses
    66 REQUIRED_PACKAGES += library/security/openssl
    79 REQUIRED_PACKAGES += library/security/openssl
    67 REQUIRED_PACKAGES += runtime/perl-512
    80 REQUIRED_PACKAGES += runtime/perl-520
    68 REQUIRED_PACKAGES += system/library
    81 REQUIRED_PACKAGES += system/library