public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/libircclient/files: libircclient-1.8-include.patch libircclient-1.8-build.patch libircclient-1.8-shared.patch libircclient-1.8-static.patch
@ 2015-02-05  5:55 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2015-02-05  5:55 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    15/02/05 05:55:28

  Added:                libircclient-1.8-include.patch
                        libircclient-1.8-build.patch
                        libircclient-1.8-shared.patch
                        libircclient-1.8-static.patch
  Log:
  version bump
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  net-libs/libircclient/files/libircclient-1.8-include.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-include.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-include.patch?rev=1.1&content-type=text/plain

Index: libircclient-1.8-include.patch
===================================================================
--- libircclient-1.6.orig/include/libircclient.h
+++ libircclient-1.6/include/libircclient.h
@@ -130,6 +130,7 @@
 #define IN_INCLUDE_LIBIRC_H
 #include "libirc_errors.h"
 #include "libirc_events.h"
+#include "libirc_rfcnumeric.h"
 #include "libirc_options.h"
 #undef IN_INCLUDE_LIBIRC_H
 



1.1                  net-libs/libircclient/files/libircclient-1.8-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-build.patch?rev=1.1&content-type=text/plain

Index: libircclient-1.8-build.patch
===================================================================
--- libircclient-1.7.orig/configure.in
+++ libircclient-1.7/configure.in
@@ -61,9 +61,7 @@
 AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket")
 
 if test "$use_debug" = "yes"; then
-	CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
-else
-	CFLAGS="${CFLAGS} -O3"
+	CFLAGS="${CFLAGS} -DENABLE_DEBUG"
 fi
 
 # Choosing the target



1.1                  net-libs/libircclient/files/libircclient-1.8-shared.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-shared.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-shared.patch?rev=1.1&content-type=text/plain

Index: libircclient-1.8-shared.patch
===================================================================
--- libircclient-1.7.orig/src/Makefile.in
+++ libircclient-1.7/src/Makefile.in
@@ -1,8 +1,10 @@
 # $Id: libircclient-1.8-shared.patch,v 1.1 2015/02/05 05:55:28 mr_bones_ Exp $
 CC = @CC@
-CFLAGS = -Wall -DIN_BUILDING_LIBIRC @CFLAGS@
+CFLAGS = -fPIC -Wall -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 @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@



1.1                  net-libs/libircclient/files/libircclient-1.8-static.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-static.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libircclient/files/libircclient-1.8-static.patch?rev=1.1&content-type=text/plain

Index: libircclient-1.8-static.patch
===================================================================
--- libircclient-1.7.orig/src/Makefile.in
+++ libircclient-1.7/src/Makefile.in
@@ -9,6 +9,9 @@
 DESTDIR=
 APIVERSION = 1
 
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+
 OBJS = libircclient.o
 
 all:	@TARGET@





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-05  5:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05  5:55 [gentoo-commits] gentoo-x86 commit in net-libs/libircclient/files: libircclient-1.8-include.patch libircclient-1.8-build.patch libircclient-1.8-shared.patch libircclient-1.8-static.patch Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox