svn commit: r319859 - in head/lang: lafontaine open-cobol
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jun 4 13:58:44 UTC 2013
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:
More information about the svn-ports-head
mailing list