Hi, here's a (really) simple patch for building irssi with glib2.
Tested on amd64 and i386.
I tested both flavors (i never used socks support before) and noticed
that dante 1.1.19 is broken, so there's an attached port for it too
(as well, tested on i386 and amd64). Of course a glib1 FLAVOR could be
added to allow use of glib1 but it doesn't seem necessary to me.
First the irssi patch:
--- Makefile Fri Jan 27 11:07:06 2006
+++ Makefile.orig Fri Jan 27 11:06:41 2006
@@ -28,13 +28,13 @@
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ncurses perl ssl util
-LIB_DEPENDS+= glib-2.0.0.0,gmodule-2.0.0.0::devel/glib2
+LIB_DEPENDS+= glib.1.2,gmodule::devel/glib
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc --enable-ipv6 \
--with-proxy --enable-perl=yes --with-included-gettext \
- --with-perl-lib=${PREFIX}/libdata/perl5/site_perl
+ --with-perl-lib=${PREFIX}/libdata/perl5/site_perl --with-glib1
FLAVORS= socks
FLAVOR?=
Then the dante patch:
--- pkg/PFRAG.shared.orig Fri Jan 27 11:45:52 2006
+++ pkg/PFRAG.shared Fri Jan 27 11:45:57 2006
@@ -1,5 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.12 2006/01/21 11:14:44 jakob Exp $
@conflict dsocks-*
-lib/libdsocks.so
@lib lib/libdsocks.so.${LIBdsocks_VERSION}
@lib lib/libsocks.so.${LIBsocks_VERSION}