From 23bc0fc3034feba65835d32391891c0dd3528b4b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 27 Aug 2004 01:16:48 +0000 Subject: [PATCH] Add a NO_GETTEXT_OPTIONS knob. --- devel/gettext/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index da0fea85b168..e9c981136204 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -15,8 +15,6 @@ MASTER_SITE_SUBDIR= gettext MAINTAINER= ports@FreeBSD.org COMMENT= GNU gettext package -LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 - GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} USE_ICONV= yes @@ -31,8 +29,10 @@ CONFIGURE_ARGS= --with-libexpat-prefix=${LOCALBASE}/lib \ --mandir=${PREFIX}/man INSTALLS_SHLIB= yes +.if !defined(NO_GETTEXT_OPTIONS) OPTIONS= EXAMPLES "install example files" off \ HTMLMAN "install man pages in HTML format" off +.endif PLIST= ${WRKDIR}/plist PLISTU= ${WRKDIR}/plist-unsorted PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \