Date: Tue, 4 Jun 2013 13:58:44 +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: r319859 - in head/lang: lafontaine open-cobol Message-ID: <201306041358.r54Dwiq9013475@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Jun 4 13:58:44 2013 New Revision: 319859 URL: http://svnweb.freebsd.org/changeset/ports/319859 Log: WITHOUT_NLS -> PORT_OPTIONS:MNLS Modified: head/lang/lafontaine/Makefile head/lang/open-cobol/Makefile Modified: head/lang/lafontaine/Makefile ============================================================================== --- head/lang/lafontaine/Makefile Tue Jun 4 13:42:47 2013 (r319858) +++ head/lang/lafontaine/Makefile Tue Jun 4 13:58:44 2013 (r319859) @@ -19,7 +19,9 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_CSTD= gnu89 -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else Modified: head/lang/open-cobol/Makefile ============================================================================== --- head/lang/open-cobol/Makefile Tue Jun 4 13:42:47 2013 (r319858) +++ head/lang/open-cobol/Makefile Tue Jun 4 13:58:44 2013 (r319859) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: open-cobol -# Date created: Aug 6, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= open-cobol PORTVERSION= 1.1 @@ -26,12 +21,14 @@ INFO= open-cobol CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-patch:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306041358.r54Dwiq9013475>