diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /net-libs/libircclient/files/libircclient-1.10-shared.patch | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'net-libs/libircclient/files/libircclient-1.10-shared.patch')
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.10-shared.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/libircclient/files/libircclient-1.10-shared.patch b/net-libs/libircclient/files/libircclient-1.10-shared.patch new file mode 100644 index 000000000000..33a1cc1d54e0 --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.10-shared.patch @@ -0,0 +1,50 @@ +--- libircclient-1.10/src/Makefile.in ++++ libircclient-1.10/src/Makefile.in +@@ -1,8 +1,10 @@ + # $Id: Makefile.in 137 2018-08-27 01:11:08Z gyunaev $ + CC = @CC@ +-CFLAGS = -Wall -Wno-misleading-indentation -Wno-unused-function -Wno-nonnull -DIN_BUILDING_LIBIRC @CFLAGS@ ++CFLAGS = -fPIC -Wall -Wno-misleading-indentation -Wno-unused-function -Wno-nonnull -DIN_BUILDING_LIBIRC @CFLAGS@ + AR=@AR@ cr + RANLIB=@RANLIB@ ++INSTALL=install ++LN=ln -sf + INCLUDES=-I../include + DESTDIR= + APIVERSION = 1 +@@ -15,19 +17,24 @@ + shared: libircclient.so + shared_mingw: libircclient.dll + +-install: +- -mkdir -p $(DESTDIR)@prefix@/include +- -mkdir -p $(DESTDIR)@libdir@ +- cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h +- cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h +- cp ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h +- cp ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h +- cp ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h +- cp libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION) +- ln -fs libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so ++install: install-headers install-static install-shared ++install-headers: ++ $(INSTALL) -d $(DESTDIR)@prefix@/include ++ $(INSTALL) -m0644 ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h ++ $(INSTALL) -m0644 ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h ++ $(INSTALL) -m0644 ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h ++ $(INSTALL) -m0644 ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h ++ $(INSTALL) -m0644 ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h ++install-shared: ++ $(INSTALL) -d $(DESTDIR)@libdir@ ++ $(INSTALL) -m0755 libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION) ++ $(LN) libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so ++install-static: ++ $(INSTALL) -d $(DESTDIR)@libdir@ ++ $(INSTALL) -m0644 libircclient.a $(DESTDIR)@libdir@/libircclient.a + + libircclient.so: libircclient.o +- $(CC) -shared -s -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o @LDFLAGS@ @LIBS@ ++ $(CC) @CFLAGS@ -shared -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o @LDFLAGS@ @LIBS@ + + libircclient.dll: libircclient.o + $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@ |