Edit

IABSD.fr/ports/textproc/ruby-nokogiri/Makefile

Branch :

  • Show log

    Commit

  • Author : jeremy
    Date : 2023-09-01 21:05:28
    Hash : 7f37ceb5
    Message : Update to nokogiri 1.15.4 Add NOKOGIRI_LIBXML_MEMORY_MANAGEMENT=default to the configure environment, which switches nokogiri to use the system malloc instead of ruby_xmalloc.

  • textproc/ruby-nokogiri/Makefile
  • COMMENT=		HTML, XML, SAX and Reader parser
    
    DISTNAME=		nokogiri-1.15.4
    CATEGORIES=		textproc
    
    HOMEPAGE=		http://nokogiri.org/
    
    MAINTAINER =		Jeremy Evans <jeremy@openbsd.org>
    
    # MIT
    PERMIT_PACKAGE=	Yes
    
    WANTLIB=		exslt xml2 xslt gcrypt gpg-error z
    LIB_DEPENDS=		textproc/libxslt
    BUILD_DEPENDS=		devel/ruby-mini_portile2,${MODRUBY_FLAVOR}>=2.8.2,<2.9
    
    MODULES=		lang/ruby
    
    CONFIGURE_STYLE=	ruby gem ext
    
    CONFIGURE_ENV+=		NOKOGIRI_LIBXML_MEMORY_MANAGEMENT=default
    CONFIGURE_ARGS=		--use-system-libraries \
    			--with-xml2-include=${LOCALBASE}/include/libxml2/
    
    .include <bsd.port.mk>