aboutsummaryrefslogtreecommitdiff
path: root/devel/libcoro
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 10:23:37 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 10:23:37 +0000
commit03b169464ef1802f3f035b1f8f748431d7722497 (patch)
tree7847d17788c73060798c678865adfa4b203c0be8 /devel/libcoro
parent749e254514fa5d06706600897ee7198732bdd69f (diff)
downloadports-03b169464ef1802f3f035b1f8f748431d7722497.tar.gz
ports-03b169464ef1802f3f035b1f8f748431d7722497.zip
Notes
Diffstat (limited to 'devel/libcoro')
-rw-r--r--devel/libcoro/Makefile1
-rw-r--r--devel/libcoro/files/patch-ab31
-rw-r--r--devel/libcoro/pkg-plist3
3 files changed, 12 insertions, 23 deletions
diff --git a/devel/libcoro/Makefile b/devel/libcoro/Makefile
index b5696b7ee978..f4f850362d7f 100644
--- a/devel/libcoro/Makefile
+++ b/devel/libcoro/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= kbyanc@posi.net
ONLY_FOR_ARCHS= i386
-INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --arch arch/x86-freebsd
diff --git a/devel/libcoro/files/patch-ab b/devel/libcoro/files/patch-ab
index 2c7ed72f5955..bb4084799118 100644
--- a/devel/libcoro/files/patch-ab
+++ b/devel/libcoro/files/patch-ab
@@ -1,39 +1,30 @@
---- arch/x86-freebsd/Makefile.in.orig Fri Jun 23 12:43:22 2000
-+++ arch/x86-freebsd/Makefile.in Fri Jun 23 12:50:30 2000
-@@ -1,22 +1,27 @@
+--- arch/x86-freebsd/Makefile.in.orig Tue Jul 4 13:19:55 2000
++++ arch/x86-freebsd/Makefile.in Tue Jul 4 13:21:33 2000
+@@ -1,10 +1,13 @@
-CFLAGS=-O2 -Wall
+CFLAGS?=-O2 -Wall
-+CFLAGS+=-fPIC -DPIC
MAN=@MANSRC@
LINST=@LINST@
HINST=@HINST@
MINST=@MINST@
--all: libcoro.a
-+SHARED_LIB=libcoro.so.1
-+SHORT_SHARED_LIB=libcoro.so
-
--libcoro.a: coro.o
-+all: $(SHARED_LIB)
++BSD_INSTALL_DATA?=install -C -m 644
++BSD_INSTALL_MAN?=install -C -m 644
+
-+$(SHARED_LIB): coro.o
- rm -f $@
-- ar rcs $@ coro.o
-+ $(CC) -shared -Wl,-soname -Wl,$(SHARED_LIB) -o $(SHARED_LIB) coro.o
+ all: libcoro.a
+ libcoro.a: coro.o
+@@ -14,9 +17,9 @@
coro.o: coro.h
--install: libcoro.a coro.h $(MAN)
+ install: libcoro.a coro.h $(MAN)
- install -m 644 libcoro.a $(LINST)/libcoro.a
- install -m 644 coro.h $(HINST)/coro.h
- install -m 644 $(MAN) $(MINST)/man2/coro.2
-+install: all $(MAN)
-+ $(BSD_INSTALL_PROGRAM) $(SHARED_LIB) $(LINST)/$(SHARED_LIB)
-+ ln -sf $(LINST)/$(SHARED_LIB) $(LINST)/$(SHORT_SHARED_LIB)
++ $(BSD_INSTALL_DATA) libcoro.a $(LINST)/libcoro.a
+ $(BSD_INSTALL_DATA) coro.h $(HINST)/coro.h
+ $(BSD_INSTALL_MAN) $(MAN) $(MINST)/man2/coro.2
clean:
-- rm -f libcoro.a coro.o
-+ rm -f $(SHARED_LIB) coro.o
+ rm -f libcoro.a coro.o
diff --git a/devel/libcoro/pkg-plist b/devel/libcoro/pkg-plist
index 398746295390..756f342aa2de 100644
--- a/devel/libcoro/pkg-plist
+++ b/devel/libcoro/pkg-plist
@@ -1,4 +1,3 @@
-lib/libcoro.so
-lib/libcoro.so.1
+lib/libcoro.a
include/coro.h