Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 14:00:03 -0700 (PDT)
From:      Kelly Yancey <kbyanc@egroups.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/19466: new port: devel/py-coro
Message-ID:  <200007032100.OAA46098@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/19466; it has been noted by GNATS.

From: Kelly Yancey <kbyanc@egroups.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/19466: new port: devel/py-coro
Date: Mon, 3 Jul 2000 13:54:20 -0700 (PDT)

   Per PR 19681, this patch fixes the py-coro port originally submitting in
 this PR to use the statically-linked libcoro.a.
 
   This patch should be applied from the /usr/ports/devel directory.
 
   Kelly
 
 diff -ruN py-coro.orig/Makefile py-coro/Makefile
 --- py-coro.orig/Makefile	Mon Jul  3 13:11:37 2000
 +++ py-coro/Makefile	Mon Jul  3 13:20:48 2000
 @@ -8,14 +8,14 @@
  PORTNAME=		coro
  PORTVERSION=		20000424
  CATEGORIES=		devel python
 -MASTER_SITES=		<A HREF="http://www.egroups.com/files/python-coro/egroups/">http://www.egroups.com/files/python-coro/egroups/</A>;
 +MASTER_SITES=		http://www.egroups.com/files/python-coro/egroups/
  PKGNAMEPREFIX=		py-
  DISTNAME=		egp-coro-20000424
  
  MAINTAINER=		kbyanc@posi.net
  
 -LIB_DEPENDS=		coro.1:${PORTSDIR}/devel/libcoro
 -BUILD_DEPENDS=		python:${PORTSDIR}/lang/python
 +BUILD_DEPENDS=		python:${PORTSDIR}/lang/python			\
 +			${LOCALBASE}/lib/libcoro.a:${PORTSDIR}/devel/libcoro
  
  CORO_MODULES=		coroutinemodule.so sendfilemodule.so
  CORO_PACKAGE=		coro.py corodns.py coromysql.py corourl.py	\
 diff -ruN py-coro.orig/patches/patch-aa py-coro/patches/patch-aa
 --- py-coro.orig/patches/patch-aa	Mon Jul  3 13:11:37 2000
 +++ py-coro/patches/patch-aa	Mon Jul  3 13:26:12 2000
 @@ -1,5 +1,5 @@
 ---- Makefile.orig	Fri Jun 23 02:01:42 2000
 -+++ Makefile	Fri Jun 23 02:08:57 2000
 +--- Makefile.orig	Mon Apr 24 02:51:16 2000
 ++++ Makefile	Mon Jul  3 13:25:56 2000
  @@ -1,13 +1,14 @@
  +PREFIX?=	/usr/local
   MODULES=	coroutinemodule.so sendfilemodule.so
 @@ -10,7 +10,7 @@
  -COROLIB=	/usr/local/lib/libcoro.a
  -OPTS=	-g -Wall -O6
  -#OPTS=	-g -Wall
 -+COROLIB=	${PREFIX}/lib/libcoro.so.1
 ++COROLIB=	${PREFIX}/lib/libcoro.a
  +CFLAGS?=	-g -Wall -O6
  +#CFLAGS?=	-g -Wall
   
 @@ -21,15 +21,7 @@
   RM=	rm -f
   
   all: ${OBJS} ${MODULES}
 -@@ -16,14 +17,13 @@
 - 	${RM} ${OBJS} ${MODULES}
 - 
 - coroutinemodule.so: coroutinemodule.o
 --	${LD} coroutinemodule.o -shared -o coroutinemodule.so \
 --	--whole-archive ${COROLIB}
 -+	${LD} coroutinemodule.o -shared -o coroutinemodule.so ${COROLIB}
 - 
 - sendfilemodule.so: sendfilemodule.o
 +@@ -23,7 +24,7 @@
   	${LD} sendfilemodule.o -shared -o sendfilemodule.so
   
   coroutinemodule.o: coroutinemodule.c
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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