Edit

IABSD.fr/ports/sysutils/ggrep/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2025-07-21 15:31:48
    Hash : 6f405558
    Message : add some of the many missing pthread in WANTLIB

  • sysutils/ggrep/Makefile
  • COMMENT=	GNU versions of grep pattern matching utilities
    
    DISTNAME=	grep-3.11
    REVISION=	0
    PKGNAME=	g${DISTNAME}
    CATEGORIES=	sysutils
    HOMEPAGE=	https://www.gnu.org/software/grep/grep.html
    
    MAINTAINER=	Christian Weisgerber <naddy@openbsd.org>
    
    # GPLv3+
    PERMIT_PACKAGE=	Yes
    
    SITES=		${SITE_GNU:=grep/}
    
    EXTRACT_SUFX=	.tar.xz
    
    LIB_DEPENDS=	devel/gettext,-runtime devel/pcre2
    WANTLIB=	c iconv intl pcre2-8 pthread
    
    CONFIGURE_STYLE=gnu
    CONFIGURE_ARGS=	--program-prefix=g
    CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
    		LDFLAGS="-L${LOCALBASE}/lib"
    # Tries to use libsigsegv for SEGV-based stack overflow detection heuristic
    # in absence of the corresponding XSI behavior.  Let's try without.
    CONFIGURE_ENV+= ac_cv_libsigsegv=no
    MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
    
    DEBUG_PACKAGES=	${BUILD_PACKAGES}
    
    .include <bsd.port.mk>