components/memcached/Makefile
changeset 7722 22eb8cfcabe7
parent 7687 1093e2a9adbd
equal deleted inserted replaced
7721:71a889dd98fa 7722:22eb8cfcabe7
    24 #
    24 #
    25 BUILD_BITS= 64
    25 BUILD_BITS= 64
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		memcached
    28 COMPONENT_NAME=		memcached
    29 COMPONENT_VERSION=	1.4.33
    29 COMPONENT_VERSION=	1.4.35
    30 COMPONENT_PROJECT_URL=	http://memcached.org/
    30 COMPONENT_PROJECT_URL=	http://memcached.org/
    31 COMPONENT_ARCHIVE_HASH=	\
    31 COMPONENT_ARCHIVE_HASH=	\
    32     sha256:83726c8d68258c56712373072abb25a449c257398075a39ec0867fd8ba69771d
    32     sha256:f4815ac95aa06c0f360052a0a12010533b2b78c3bfe475b171606c1b61469476
    33 COMPONENT_ARCHIVE_URL=	http://memcached.org/files/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=	http://memcached.org/files/$(COMPONENT_ARCHIVE)
    34 COMPONENT_BUGDB=	database/memcached
    34 COMPONENT_BUGDB=	database/memcached
    35 COMPONENT_ANITYA_ID=	1965
    35 COMPONENT_ANITYA_ID=	1965
    36 
    36 
    37 TPNO=			32788
    37 TPNO=			34035
    38 
    38 
    39 include $(WS_MAKE_RULES)/common.mk
    39 include $(WS_MAKE_RULES)/common.mk
    40 
    40 
    41 PATH=$(USRBINDIR):$(GNUBIN):$(USRDIR)/perl5/bin
    41 PATH=$(USRBINDIR):$(GNUBIN):$(USRDIR)/perl5/bin
    42 
    42 
    45 
    45 
    46 studio_OPT = -xO5
    46 studio_OPT = -xO5
    47 
    47 
    48 CFLAGS += -D__ATTRIBUTE_DISABLED
    48 CFLAGS += -D__ATTRIBUTE_DISABLED
    49 
    49 
       
    50 # If we don't define this, configure will try to use umem, which in turn will
       
    51 # cause BUILD_CACHE_TRUE to be set which will take us down a path such that
       
    52 # do_cache_alloc and do_cache_free are undefined symbols at link time.
       
    53 CONFIGURE_ENV +=	"ac_cv_header_umem_h=no"
       
    54 
    50 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib
    55 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib
    51 CONFIGURE_OPTIONS.64 +=	--with-libevent=$(USRLIBDIR64)
    56 CONFIGURE_OPTIONS.64 +=	--with-libevent=$(USRLIBDIR64)
    52 # The below works around a bug in configure/configure.ac that sets
    57 # The below works around a bug in configure/configure.ac that sets
    53 # an incorrect runpath.
    58 # an incorrect runpath.
    54 # Setting ac_cv_libevent bypasses libevent checks in configure,
    59 # Setting ac_cv_libevent bypasses libevent checks in configure,
    55 # including setting the runpath (-R), which is currently ok
    60 # including setting the runpath (-R), which is currently ok
    56 # because libevent is in a default library directory.
    61 # because libevent is in a default library directory.
    57 CONFIGURE_OPTIONS.64 +=	"ac_cv_libevent_dir=/usr/lib/$(MACH64)"
    62 CONFIGURE_OPTIONS.64 +=	"ac_cv_libevent_dir=/usr/lib/$(MACH64)"
    58 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    63 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    59 CONFIGURE_OPTIONS +=	--localstatedir=$(VARDIR)
    64 CONFIGURE_OPTIONS +=	--localstatedir=$(VARDIR)
    60 
       
    61 # lru-maintainer.t is inconsistent and usually fails.
       
    62 
    65 
    63 COMPONENT_TEST_TARGETS=	test
    66 COMPONENT_TEST_TARGETS=	test
    64 
    67 
    65 # Just retain test result output that's useful.
    68 # Just retain test result output that's useful.
    66 COMPONENT_TEST_TRANSFORMS += \
    69 COMPONENT_TEST_TRANSFORMS += \