d7260ee2ea
The stack overflow handling code wants to use libsigsegv for a SEGV-based stack overflow detection heuristic when an operating system doesn't support the corresponding POSIX XSI behavior. Let's try without.
33 lines
854 B
Makefile
33 lines
854 B
Makefile
# $OpenBSD: Makefile,v 1.33 2019/01/25 18:39:05 naddy Exp $
|
|
|
|
COMMENT= GNU versions of grep pattern matching utilities
|
|
|
|
DISTNAME= grep-3.3
|
|
PKGNAME= g${DISTNAME}
|
|
REVISION= 0
|
|
CATEGORIES= sysutils
|
|
HOMEPAGE= https://www.gnu.org/software/grep/grep.html
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
LIB_DEPENDS= devel/gettext devel/pcre
|
|
WANTLIB= c iconv intl pcre
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|