openbsd-ports/devel/libsigsegv/Makefile
landry 5fa3422b2a Unbreak (again) libsigsegv on hppa by adding the necessary autoconf magic
to configure env so that it doesn't try to run tests that goes into an infinite
loop puking 'longjmp botch'. If anyone feels brave enough to debug that,
start in m4/sigaltstack*. That should allow quite a good branch of the
portstree to build again..
2010-04-22 21:53:29 +00:00

36 lines
870 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/04/22 21:53:29 landry Exp $
ONLY_FOR_ARCHS = alpha amd64 arm i386 hppa m68k mips64 mips64el powerpc sparc64 sparc sh
COMMENT = library for handling page faults in user mode
DISTNAME = libsigsegv-2.8
SHARED_LIBS = sigsegv 1.0
CATEGORIES = devel
HOMEPAGE = http://libsigsegv.sourceforge.net/
MAINTAINER = Scott Vokes <vokes.s@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_GNU:=libsigsegv/}
SEPARATE_BUILD = concurrent
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
.if ${MACHINE_ARCH} == "hppa"
CONFIGURE_ENV += sv_cv_leave_handler_longjmp_sigaltstack=no \
sv_cv_leave_handler_siglongjmp=no \
sv_cv_leave_handler_siglongjmp_sigaltstack=no
.endif
.include <bsd.port.mk>