mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
35 lines
924 B
Makefile
35 lines
924 B
Makefile
COMMENT= GNU versions of grep pattern matching utilities
|
|
|
|
# Update to 3.12 blocked by regression
|
|
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71471
|
|
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>
|