landry dcbdf47166 Fix the stack frame size detection when building with 'recent' gcc. This
in turn fixes mariadb configure step on non-clang archs.

Patch from https://bugs.exim.org/show_bug.cgi?id=2173 via George Koehler, thanks !
Tested on sparc64 & macppc with gcc 6.
ok robert@ (MAINTAINER)
2018-11-24 11:20:08 +00:00

38 lines
895 B
Makefile

# $OpenBSD: Makefile,v 1.71 2018/11/24 11:20:08 landry Exp $
COMMENT= perl-compatible regular expression library
DISTNAME= pcre-8.41
REVISION= 2
SHARED_LIBS += pcre 3.0 # 0.1
SHARED_LIBS += pcre16 0.0 # 0.0
SHARED_LIBS += pcreposix 1.5 # 0.0
SHARED_LIBS += pcrecpp 3.3 # 0.0
CATEGORIES= devel
DPB_PROPERTIES= parallel
MASTER_SITES= https://ftp.pcre.org/pub/pcre/ \
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
HOMEPAGE= http://www.pcre.org/
MAINTAINER= Robert Nagy <robert@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c curses m readline ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-pcre8 \
--enable-pcre16 \
--enable-utf \
--enable-unicode-properties \
--enable-pcretest-libreadline
.include <bsd.port.mk>