aboutsummaryrefslogtreecommitdiff
path: root/net-im/ari-yahoo
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2010-09-15 18:35:24 +0000
committerAde Lovett <ade@FreeBSD.org>2010-09-15 18:35:24 +0000
commit8262a7b51d413e11ef8f67c56e862ebbc6f182de (patch)
tree1e9812bc2638933184cae2b226809eb69253bb9f /net-im/ari-yahoo
parentbe8126109fa13097c8a0f9337fa9dfb68cf5d4c2 (diff)
downloadports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.tar.gz
ports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.zip
Notes
Diffstat (limited to 'net-im/ari-yahoo')
-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.