Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 07:46:03 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340993 - head/devel/pcl
Message-ID:  <201401250746.s0P7k381084664@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Jan 25 07:46:02 2014
New Revision: 340993
URL: http://svnweb.freebsd.org/changeset/ports/340993
QAT: https://qat.redports.org/buildarchive/r340993/

Log:
  Fix the build on sparc64.

Modified:
  head/devel/pcl/Makefile

Modified: head/devel/pcl/Makefile
==============================================================================
--- head/devel/pcl/Makefile	Sat Jan 25 07:19:34 2014	(r340992)
+++ head/devel/pcl/Makefile	Sat Jan 25 07:46:02 2014	(r340993)
@@ -15,6 +15,8 @@ USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
 
-BROKEN_sparc64=	Does not compile on sparc64
+post-patch:	# required at least on sparc64
+	@${REINPLACE_CMD} -e '/<ucontext/ { x ; \
+		s,.*,#include <inttypes.h>, ; G ; }' ${WRKSRC}/pcl/pcl.c
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401250746.s0P7k381084664>