summaryrefslogtreecommitdiff
path: root/net-im/ysm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/ysm/Makefile')
-rw-r--r--net-im/ysm/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-im/ysm/Makefile b/net-im/ysm/Makefile
index 2814ac1cf094..269e02ca51d9 100644
--- a/net-im/ysm/Makefile
+++ b/net-im/ysm/Makefile
@@ -6,20 +6,21 @@
#
PORTNAME= ysm
-PORTVERSION= 7.2.9.0
+PORTVERSION= 7.2.9.1
PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= ftp://rusunix.org/pub/FreeBSD/distfiles/ \
http://aquatique.rusunix.org/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ysmv7_2_9_0
+DISTNAME= ${PORTNAME}v${PORTVERSION:S/./_/g}
MAINTAINER= aquatique@rusunix.org
COMMENT= Command line ICQ client with ICQ2000 and recoding support
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -29,4 +30,8 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
MAN1= ysm.1
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>