svn commit: r549957 - head/devel/libunwind

Mark Linimon linimon at FreeBSD.org
Thu Sep 24 20:52:19 UTC 2020


Author: linimon
Date: Thu Sep 24 20:52:19 2020
New Revision: 549957
URL: https://svnweb.freebsd.org/changeset/ports/549957

Log:
  Attempt to port to powerpc64le.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/libunwind/Makefile

Modified: head/devel/libunwind/Makefile
==============================================================================
--- head/devel/libunwind/Makefile	Thu Sep 24 20:46:18 2020	(r549956)
+++ head/devel/libunwind/Makefile	Thu Sep 24 20:52:19 2020	(r549957)
@@ -15,21 +15,22 @@ COMMENT=	Generic stack unwinding library
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64
+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|:S|powerpc64|ppc64|}
+PLIST_SUB=	ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|:C|powerpc64.*|ppc64|}
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} != powerpc64
+.if ! ${ARCH:Mpowerpc64*}
 PLIST_SUB+=	COREDUMP=""
 .else
 PLIST_SUB+=	COREDUMP="@comment "


More information about the svn-ports-all mailing list