From 4bdef9c918eeae156721e446bd6e164d5f24cbfe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Jan 2014 14:45:13 +0100 Subject: libircclient: import from rawhide --- libircclient-1.6-install.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libircclient-1.6-install.patch (limited to 'libircclient-1.6-install.patch') diff --git a/libircclient-1.6-install.patch b/libircclient-1.6-install.patch new file mode 100644 index 0000000..73c410c --- /dev/null +++ b/libircclient-1.6-install.patch @@ -0,0 +1,30 @@ +diff -up libircclient-1.6/src/Makefile.in.orig libircclient-1.6/src/Makefile.in +--- libircclient-1.6/src/Makefile.in.orig 2012-04-28 16:32:56.176139347 -0300 ++++ libircclient-1.6/src/Makefile.in 2012-04-28 16:36:10.406147192 -0300 +@@ -14,16 +14,16 @@ static: libircclient.a + shared: libircclient.so + shared_mingw: libircclient.dll + +-install: lib +- -mkdir -p $(DESTDIR)@prefix@/include +- -mkdir -p $(DESTDIR)@prefix@/lib +- 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)@prefix@/lib/ +- cp libircclient.a $(DESTDIR)@prefix@/lib/ ++install: @TARGET@ ++ -mkdir -p $(DESTDIR)@includedir@ ++ -mkdir -p $(DESTDIR)@libdir@ ++ cp ../include/libircclient.h $(DESTDIR)@includedir@/libircclient.h ++ cp ../include/libirc_errors.h $(DESTDIR)@includedir@/libirc_errors.h ++ cp ../include/libirc_events.h $(DESTDIR)@includedir@/libirc_events.h ++ cp ../include/libirc_options.h $(DESTDIR)@includedir@/libirc_options.h ++ cp ../include/libirc_rfcnumeric.h $(DESTDIR)@includedir@/libirc_rfcnumeric.h ++ if [ -f libircclient.so ]; then cp libircclient.so $(DESTDIR)@libdir@; else :; fi ++ if [ -f libircclient.a ]; then cp libircclient.a $(DESTDIR)@libdir@; else :; fi + + libircclient.so: libircclient.o + $(CC) -shared -s -o libircclient.so libircclient.o @LIBS@ -- cgit