diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-04 18:23:37 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-04 18:23:37 +0800 |
commit | a92543fdb1d45b9004c54374922c0b0b34639916 (patch) | |
tree | 60d18b90fc90ea90fdecceb912b45e566bb3f6aa | |
parent | 5ea828eb55e60c49aca55092a252fca620741da0 (diff) | |
download | freebsd-ports-gnome-a92543fdb1d45b9004c54374922c0b0b34639916.tar.gz freebsd-ports-gnome-a92543fdb1d45b9004c54374922c0b0b34639916.tar.zst freebsd-ports-gnome-a92543fdb1d45b9004c54374922c0b0b34639916.zip |
Build static library instead of shared library which doesn't work. Also do not
strip symbols when installing library.
PR: 19681
Submitted by: maintainer
-rw-r--r-- | devel/libcoro/Makefile | 1 | ||||
-rw-r--r-- | devel/libcoro/files/patch-ab | 31 | ||||
-rw-r--r-- | devel/libcoro/pkg-plist | 3 |
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 |