diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 14:23:01 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 14:23:01 +0800 |
commit | 38d35e3db9111f42b79313f05731c75e6e55d7e8 (patch) | |
tree | 15816ec7b527e5501d5e562ef34c25d7d1093d4a /irc/irssi-devel/Makefile | |
parent | e57ab899e8ccc8394fbdc7a53114f2d7e4b9a8d8 (diff) | |
download | freebsd-ports-gnome-38d35e3db9111f42b79313f05731c75e6e55d7e8.tar.gz freebsd-ports-gnome-38d35e3db9111f42b79313f05731c75e6e55d7e8.tar.zst freebsd-ports-gnome-38d35e3db9111f42b79313f05731c75e6e55d7e8.zip |
Implement USE_GLIB.
Diffstat (limited to 'irc/irssi-devel/Makefile')
-rw-r--r-- | irc/irssi-devel/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/irc/irssi-devel/Makefile b/irc/irssi-devel/Makefile index 950bc1c224b1..ef354c958215 100644 --- a/irc/irssi-devel/Makefile +++ b/irc/irssi-devel/Makefile @@ -13,19 +13,19 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-3 MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \ - intl.1:${PORTSDIR}/devel/gettext - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes +USE_GLIB= yes USE_LIBTOOL= yes - CONFIGURE_ARGS= --without-socks --with-textui --with-bot \ --without-servertest +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lintl" .include <bsd.port.pre.mk> @@ -35,8 +35,10 @@ CONFIGURE_ARGS+= --enable-ipv6 CONFIGURE_ARGS+= --disable-ipv6 .endif -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - LIBS="-L${LOCALBASE}/lib -lintl" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure .include <bsd.port.post.mk> |