From c70e4c89b08cdf53c74fb63c742dffce5eca2598 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 27 Jan 2005 05:44:52 +0000 Subject: - Unbreak the build - Minor indentation nits in Makefile - Fix a typo in pkg-descr --- devel/libcoro/Makefile | 15 ++++++--------- devel/libcoro/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) (limited to 'devel') diff --git a/devel/libcoro/Makefile b/devel/libcoro/Makefile index 9b65a890a158..daa5a9b466c9 100644 --- a/devel/libcoro/Makefile +++ b/devel/libcoro/Makefile @@ -1,6 +1,6 @@ # Ports collection Makefile for: libcoro # Date created: 22 June 2000 -# Whom: Kelly Yancey +# Whom: Kelly Yancey # # $FreeBSD$ # @@ -13,22 +13,19 @@ MASTER_SITE_SUBDIR= kbyanc DISTNAME= coro-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= C library that implements coroutines +COMMENT= C library that implements coroutines ONLY_FOR_ARCHS= i386 HAS_CONFIGURE= yes CONFIGURE_ARGS= --arch arch/x86-freebsd +NOPRECIOUSMAKEVARS= yes MAN2= coro.2 -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Broken by changes to make(1) on FreeBSD >= 5.x" -.endif - post-extract: ${CP} -r ${WRKSRC}/arch/x86-linux ${WRKSRC}/arch/x86-freebsd + ${SED} -e '43,43s/$$/ __attribute__((noreturn,regparm(1)))/' \ + ${WRKSRC}/arch/x86-linux/coro.c > ${WRKSRC}/arch/x86-freebsd/coro.c -.include +.include diff --git a/devel/libcoro/pkg-descr b/devel/libcoro/pkg-descr index 073d4f6cb441..d0fa050e1ee7 100644 --- a/devel/libcoro/pkg-descr +++ b/devel/libcoro/pkg-descr @@ -9,7 +9,7 @@ Excerpt from The Art of Computer Programming by D. E. Knuth: coro is a C library that implements the low level handling of coroutines. Despite it's simplicity, there is no portable way to implement them. The goal of this library is to build a standard API for coroutines and implement it for -as many architectures as possible. Currently on the i386 architecture is +as many architectures as possible. Currently only the i386 architecture is supported. -Kelly -- cgit v1.2.3