summaryrefslogtreecommitdiff
path: root/net-im/ari-yahoo
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-im/ari-yahoo/Makefile6
-rw-r--r--net-im/ari-yahoo/files/patch-configure.in13
2 files changed, 17 insertions, 2 deletions
diff --git a/net-im/ari-yahoo/Makefile b/net-im/ari-yahoo/Makefile
index bd1c95a76f34..fc5221ce14f1 100644
--- a/net-im/ari-yahoo/Makefile
+++ b/net-im/ari-yahoo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ari-yahoo
PORTVERSION= 1.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= SF
@@ -16,12 +16,14 @@ COMMENT= A console Yahoo! messenger client
PLIST_FILES= bin/ari-yahoo
USE_GMAKE= yes
-USE_AUTOTOOLS= autoconf:262
+USE_AUTOTOOLS= autoconf:267
pre-configure:
+ @${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in
@(cd ${WRKSRC}/libyahoo && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} \
${AUTOCONFARGS})
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ari-yahoo ${PREFIX}/bin
diff --git a/net-im/ari-yahoo/files/patch-configure.in b/net-im/ari-yahoo/files/patch-configure.in
new file mode 100644
index 000000000000..fb68dc79d435
--- /dev/null
+++ b/net-im/ari-yahoo/files/patch-configure.in
@@ -0,0 +1,13 @@
+--- configure.in.orig 2010-02-01 12:40:34.000000000 -0200
++++ configure.in 2010-02-01 12:42:55.000000000 -0200
+@@ -16,8 +16,8 @@
+ AC_CHECK_HEADER(curses.h, , use_curses_default=no)
+
+ dnl Checks for library functions.
+-AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket, , exit))
+-AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname, , exit))
++AC_CHECK_FUNC([socket], , [AC_CHECK_LIB(socket, socket, , exit)])
++AC_CHECK_FUNC([gethostbyname], , [AC_CHECK_LIB(nsl, gethostbyname, , exit)])
+ AC_CHECK_FUNCS(malloc free select htons fcntl atoi getpass, , exit)
+
+ dnl Checks for library files.