1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add a build dependency on intltool

Use options helpers
Fix building when no shared readline is in base
This commit is contained in:
Baptiste Daroussin 2014-07-16 22:06:04 +00:00
parent 5e34f29bc8
commit 214b03b3c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362114

View File

@ -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}/security/libgcrypt \
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>