aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-devel/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 14:23:01 +0800
committerreg <reg@FreeBSD.org>2000-10-05 14:23:01 +0800
commit38d35e3db9111f42b79313f05731c75e6e55d7e8 (patch)
tree15816ec7b527e5501d5e562ef34c25d7d1093d4a /irc/irssi-devel/Makefile
parente57ab899e8ccc8394fbdc7a53114f2d7e4b9a8d8 (diff)
downloadfreebsd-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/Makefile18
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>