1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/libunwind/Makefile
2021-04-06 16:31:07 +02:00

38 lines
928 B
Makefile

# Created by: stas@FreeBSD.org
PORTNAME= libunwind
PORTVERSION= 20201110 # This is the release date on https://download.savannah.gnu.org/releases/libunwind/
CATEGORIES= devel
MASTER_SITES= SAVANNAH \
https://github.com/libunwind/libunwind/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-1.5.0
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Generic stack unwinding library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
USES= compiler:c11 libtool pathfix pkgconfig
CFLAGS_powerpc64= -maltivec
CFLAGS_powerpc64le= -maltivec
CONFIGURE_ARGS= ac_cv_path_LATEX2MAN=${TRUE}
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PLIST_SUB= ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|:C|powerpc64.*|ppc64|}
.include <bsd.port.pre.mk>
.if !${ARCH:Mpowerpc64*}
PLIST_SUB+= COREDUMP=""
.else
PLIST_SUB+= COREDUMP="@comment "
.endif
.include <bsd.port.post.mk>