aboutsummaryrefslogtreecommitdiff
path: root/devel/pcl/Makefile
blob: 372fe9920ad38562c3ea7e5d1ff78c9b03d7011d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: Manuel Giraud <manuel.giraud@gmail.com>

PORTNAME=	pcl
PORTVERSION=	1.6
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.xmailserver.org/

MAINTAINER=	manuel.giraud@gmail.com
COMMENT=	Portable Coroutine Library

USES=		libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}

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>