diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 16:33:06 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 16:33:06 +0000 |
commit | 6e262f48b34feb4310d286a7722d88dddb256e8d (patch) | |
tree | 9a33b02a07baccca147d9fb70b65ef43d15907fb /security/tinc | |
parent | b94532243d673d6d4f959459865a4b1e94fe5eba (diff) | |
download | ports-6e262f48b34feb4310d286a7722d88dddb256e8d.tar.gz ports-6e262f48b34feb4310d286a7722d88dddb256e8d.zip |
Notes
Diffstat (limited to 'security/tinc')
-rw-r--r-- | security/tinc/Makefile | 9 | ||||
-rw-r--r-- | security/tinc/pkg-plist | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/security/tinc/Makefile b/security/tinc/Makefile index 1e74428ca6c4..e1bd220d2d31 100644 --- a/security/tinc/Makefile +++ b/security/tinc/Makefile @@ -19,7 +19,6 @@ COMMENT= A Virtual Private Network (VPN) daemon LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo -USE_GETTEXT= yes USE_OPENSSL= yes USE_REINPLACE= yes GNU_CONFIGURE= yes @@ -33,6 +32,14 @@ MAN5= tinc.conf.5 MAN8= tincd.8 INFO= tinc +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + pre-configure: ${REINPLACE_CMD} \ 's/OpenSSL_add_all_algorithms/OpenSSL_add_all_ciphers/' \ diff --git a/security/tinc/pkg-plist b/security/tinc/pkg-plist index f54790ff6c9c..e3480d640787 100644 --- a/security/tinc/pkg-plist +++ b/security/tinc/pkg-plist @@ -1,2 +1,2 @@ sbin/tincd -share/locale/nl/LC_MESSAGES/tinc.mo +%%NLS%%share/locale/nl/LC_MESSAGES/tinc.mo |