* we build a shared library: do not drop -fpic
* don't pull in autoconf for trivial patch; general clean-up while here
This commit is contained in:
parent
4415bb6b44
commit
4c73b08f18
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2013/03/11 11:35:48 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2013/03/22 16:25:44 naddy Exp $
|
||||
|
||||
COMMENT = library which implements the IRC protocol
|
||||
DISTNAME = libircclient-1.6
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
SHARED_LIBS = ircclient 0.0
|
||||
CATEGORIES = net
|
||||
HOMEPAGE = http://www.ulduzsoft.com/linux/libircclient/
|
||||
@ -15,8 +15,7 @@ WANTLIB = crypto ssl
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libircclient/}
|
||||
USE_GMAKE = Yes
|
||||
NO_TEST = Yes
|
||||
CONFIGURE_STYLE = autoconf
|
||||
AUTOCONF_VERSION = 2.68
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
||||
--enable-static \
|
||||
--enable-openssl \
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1 2013/01/28 15:38:31 stsp Exp $
|
||||
--- configure.in.orig Mon Jan 28 16:04:30 2013
|
||||
+++ configure.in Mon Jan 28 16:06:54 2013
|
||||
@@ -62,15 +62,12 @@ AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LI
|
||||
$OpenBSD: patch-configure,v 1.3 2013/03/22 16:25:44 naddy Exp $
|
||||
--- configure.orig Fri Mar 22 17:14:31 2013
|
||||
+++ configure Fri Mar 22 17:15:11 2013
|
||||
@@ -4390,15 +4390,13 @@ fi
|
||||
|
||||
if test "$use_debug" = "yes"; then
|
||||
CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
|
||||
@ -12,7 +12,7 @@ $OpenBSD: patch-configure_in,v 1.1 2013/01/28 15:38:31 stsp Exp $
|
||||
# Choosing the target
|
||||
TARGET="static"
|
||||
if test "$build_shared" = "yes"; then
|
||||
- CFLAGS="$CFLAGS -fpic"
|
||||
CFLAGS="$CFLAGS -fpic"
|
||||
- TARGET="shared"
|
||||
+ TARGET="static shared"
|
||||
fi
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2013/01/28 13:49:52 stsp Exp $
|
||||
@lib lib/libircclient.so.${LIBircclient_VERSION}
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/01/28 13:49:52 stsp Exp $
|
||||
%%SHARED%%
|
||||
@comment $OpenBSD: PLIST,v 1.2 2013/03/22 16:25:44 naddy Exp $
|
||||
include/libirc_errors.h
|
||||
include/libirc_events.h
|
||||
include/libirc_options.h
|
||||
include/libirc_rfcnumeric.h
|
||||
include/libircclient.h
|
||||
lib/libircclient.a
|
||||
@lib lib/libircclient.so.${LIBircclient_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user