aboutsummaryrefslogtreecommitdiff
path: root/net/micq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/micq/Makefile')
-rw-r--r--net/micq/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/micq/Makefile b/net/micq/Makefile
index dc57bc3ae390..d767366855ae 100644
--- a/net/micq/Makefile
+++ b/net/micq/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= micq
-PORTVERSION= 0.4.10.1
+PORTVERSION= 0.4.10.2
CATEGORIES= net
MASTER_SITES= http://micq.org/source/ \
http://micq.alpha345.com/source/ \
@@ -25,11 +25,12 @@ MAN1= micq.1
MAN5= micqrc.5
MAN7= micq.7
-.if !defined(WITHOUT_LIBICONV)
+.if defined(WITHOUT_LIBICONV)
+CONFIGURE_ARGS+= --disable-iconv
+.else
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
-CONFIGURE_ARGS+= --enable-iconv
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -liconv
.endif
post-install: