components/ruby/ruby-19/Makefile
changeset 3964 10ed4d01fd40
parent 3817 30b42c38bbc4
child 4339 6501cf9c29f9
equal deleted inserted replaced
3961:5a5f6cf79a19 3964:10ed4d01fd40
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		ruby
    28 COMPONENT_NAME=		ruby
    29 COMPONENT_VERSION=	1.9.3
    29 COMPONENT_VERSION=	1.9.3
    30 COMPONENT_PATCH_VERSION=	484
    30 COMPONENT_PATCH_VERSION=	551
    31 COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
    31 COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
    32 COMPONENT_SRC=	\
    32 COMPONENT_SRC=	\
    33 	$(COMPONENT_NAME)-$(COMPONENT_VERSION)-p$(COMPONENT_PATCH_VERSION)
    33 	$(COMPONENT_NAME)-$(COMPONENT_VERSION)-p$(COMPONENT_PATCH_VERSION)
    34 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    34 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    35 COMPONENT_ARCHIVE_HASH=	\
    35 COMPONENT_ARCHIVE_HASH=	\
    36     sha256:d684bc3a5ba72cda9ef30039f783c0f8cdc325bae5c8738c7bf05577cbe8f31d
    36     sha256:bb5be55cd1f49c95bb05b6f587701376b53d310eb1bb7c76fbd445a1c75b51e8
    37 COMPONENT_ARCHIVE_URL=	\
    37 COMPONENT_ARCHIVE_URL=	\
    38 	http://ftp.ruby-lang.org/pub/ruby/1.9/$(COMPONENT_ARCHIVE)
    38 	http://ftp.ruby-lang.org/pub/ruby/1.9/$(COMPONENT_ARCHIVE)
    39 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
    39 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
    40 COMPONENT_BUGDB=	utility/ruby
    40 COMPONENT_BUGDB=	utility/ruby
    41 
    41 
    42 TPNO=			15969
    42 TPNO=			20807
    43 
    43 
    44 include $(WS_MAKE_RULES)/prep.mk
    44 include $(WS_MAKE_RULES)/prep.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    46 include $(WS_MAKE_RULES)/configure.mk
    46 include $(WS_MAKE_RULES)/configure.mk
    47 
    47 
   128 CONFIGURE_OPTIONS +=	--enable-rpath
   128 CONFIGURE_OPTIONS +=	--enable-rpath
   129 # Don't need docs for ruby C source files
   129 # Don't need docs for ruby C source files
   130 CONFIGURE_OPTIONS +=	--disable-install-capi
   130 CONFIGURE_OPTIONS +=	--disable-install-capi
   131 CONFIGURE_OPTIONS +=	--disable-option-checking
   131 CONFIGURE_OPTIONS +=	--disable-option-checking
   132 CONFIGURE_OPTIONS +=	--with-openssl
   132 CONFIGURE_OPTIONS +=	--with-openssl
       
   133 # If Ruby is configured with __builtin_setjmp, may cause
       
   134 # problems with gems compiled with gcc.  Studio compiler doesn't 
       
   135 # report an error for __builtin_setjmp, but gcc would.
       
   136 CONFIGURE_OPTIONS +=	--with-setjmp-type=_setjmp
   133 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
   137 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
   134 
   138 
   135 # fiddle.so (ext/fiddle) links to libffi, which does not define
   139 # fiddle.so (ext/fiddle) links to libffi, which does not define
   136 # ffi_raw_size(), although its prototype is in libffi's 
   140 # ffi_raw_size(), although its prototype is in libffi's 
   137 # /usr/lib/libffi-3.0/include/ffi.h header file.  
   141 # /usr/lib/libffi-3.0/include/ffi.h header file.