Date: Sat, 11 Sep 2004 09:26:23 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sergei@FreeBSD.org Subject: ports/71575: [PATCH] mail/anubis: add WITHOUT_NLS and USE_GETTEXT Message-ID: <20040911012623.58F7B3E9C50@utopia.leeym.com> Resent-Message-ID: <200409110130.i8B1UOgP058849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71575 >Category: ports >Synopsis: [PATCH] mail/anubis: add WITHOUT_NLS and USE_GETTEXT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 11 01:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA3 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #4: Fri Sep 10 05:12:41 CST 2004 >Description: - this port installs GNU message cataglogs, so add WITHOUT_NLS and USE_GETTEXT Port maintainer (sergei@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- anubis-3.6.2_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/anubis/Makefile,v retrieving revision 1.20 diff -u -u -r1.20 Makefile --- Makefile 7 Mar 2004 20:49:32 -0000 1.20 +++ Makefile 11 Sep 2004 01:23:30 -0000 @@ -34,6 +34,14 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}" LDFLAGS+= -L${LOCALBASE}/lib +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + # Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none .if defined(WITH_GNUTLS) LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/mail/anubis/pkg-plist,v retrieving revision 1.6 diff -u -u -r1.6 pkg-plist --- pkg-plist 6 Aug 2003 21:44:23 -0000 1.6 +++ pkg-plist 11 Sep 2004 01:23:30 -0000 @@ -15,5 +15,5 @@ %%PAM%%%%EXAMPLESDIR%%/pam/anubis.deny %%PAM%%@dirrm %%EXAMPLESDIR%%/pam @dirrm %%EXAMPLESDIR%% -share/locale/fr/LC_MESSAGES/anubis.mo -share/locale/tr/LC_MESSAGES/anubis.mo +%%NLS%%share/locale/fr/LC_MESSAGES/anubis.mo +%%NLS%%share/locale/tr/LC_MESSAGES/anubis.mo --- anubis-3.6.2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040911012623.58F7B3E9C50>