aboutsummaryrefslogtreecommitdiff
path: root/sysutils/knutclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/knutclient/Makefile')
-rw-r--r--sysutils/knutclient/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/knutclient/Makefile b/sysutils/knutclient/Makefile
index 5563a8a55bd3..5a2a9b4db810 100644
--- a/sysutils/knutclient/Makefile
+++ b/sysutils/knutclient/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= knutclient
-PORTVERSION= 0.9.3
-PORTREVISION= 1
+PORTVERSION= 0.9.4
CATEGORIES= sysutils kde
MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \
http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/
@@ -15,15 +14,19 @@ MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \
MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= A visual client for UPS system NUT
+BUILD_DEPENDS= automake>=0:${PORTSDIR}/devel/automake19
+
USE_KDELIBS_VER=3
USE_GMAKE= yes
-USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS= --enable-mt --program-transform-name=''
+CONFIGURE_ARGS= --disable-fast-perl --enable-mt --program-transform-name=''
post-patch:
@${REINPLACE_CMD} -E \
-e 's|-O2||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
+ -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
+ ${WRKSRC}/admin/libtool.m4.in
.include <bsd.port.mk>