1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/libcoro/files/patch-ab
Maxim Sobolev 03b169464e Build static library instead of shared library which doesn't work. Also do not
strip symbols when installing library.

PR:		19681
Submitted by:	maintainer
2000-07-04 10:23:37 +00:00

31 lines
732 B
Plaintext

--- 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
MAN=@MANSRC@
LINST=@LINST@
HINST=@HINST@
MINST=@MINST@
+BSD_INSTALL_DATA?=install -C -m 644
+BSD_INSTALL_MAN?=install -C -m 644
+
all: libcoro.a
libcoro.a: coro.o
@@ -14,9 +17,9 @@
coro.o: coro.h
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
+ $(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