Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 22:06:04 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362114 - head/security/gnomint
Message-ID:  <201407162206.s6GM64wJ038057@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jul 16 22:06:04 2014
New Revision: 362114
URL: http://svnweb.freebsd.org/changeset/ports/362114
QAT: https://qat.redports.org/buildarchive/r362114/

Log:
  Add a build dependency on intltool
  Use options helpers
  Fix building when no shared readline is in base

Modified:
  head/security/gnomint/Makefile

Modified: head/security/gnomint/Makefile
==============================================================================
--- head/security/gnomint/Makefile	Wed Jul 16 21:51:43 2014	(r362113)
+++ head/security/gnomint/Makefile	Wed Jul 16 22:06:04 2014	(r362114)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnomint
 PORTVERSION=	1.2.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF
 
@@ -17,21 +17,18 @@ LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/se
 		libgnutls.so:${PORTSDIR}/security/gnutls \
 		libsqlite3.so:${PORTSDIR}/databases/sqlite3
 
+BUILD_DEPENDS=	intltool-update:${PORTSDIR}/textproc/intltool
+
 GNU_CONFIGURE=	yes
-USES=		gmake perl5 pkgconfig
+USES=		gmake perl5 pkgconfig readline
 USE_GNOME=	gconf2 gdkpixbuf2 glib20 gtk20
 
 CFLAGS:=	${CFLAGS:C/-Werror//}
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407162206.s6GM64wJ038057>