svn commit: r362114 - head/security/gnomint

Baptiste Daroussin bapt at FreeBSD.org
Wed Jul 16 22:06:04 UTC 2014


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>


More information about the svn-ports-all mailing list