From adc606fcba90c48304a1b6dcb74ef9ef32684483 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 6 Apr 2004 21:02:44 +0000 Subject: - Support USE_GETOPT_LONG - Support WITHOUT_NLS PR: ports/65262 Submitted by: Ports Fury --- lang/open-cobol-devel/Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'lang/open-cobol-devel/Makefile') diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile index eed96f2680bd..1dee18e1a35c 100644 --- a/lang/open-cobol-devel/Makefile +++ b/lang/open-cobol-devel/Makefile @@ -19,14 +19,25 @@ COMMENT= An open-source COBOL compiler LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl \ gmp.6:${PORTSDIR}/math/libgmp4 +USE_GETOPT_LONG= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lintl" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-readline INSTALLS_SHLIB= yes INFO= open-cobol + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else USE_GETTEXT= yes +LDFLAGS+= -lintl +PLIST_SUB+= NLS="" +.endif .include -- cgit v1.2.3