1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- remove warning for USE_GETTEXT as environment variable

- while here convert knobs to optionsNG framework

Approved by:	portmgr (bapt@)
This commit is contained in:
Jason Helfman 2013-05-07 06:31:54 +00:00
parent 5c04099ede
commit 8232838d86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317574

View File

@ -41,12 +41,9 @@ MAN3= bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
textdomain.3
INFO= autosprintf gettext
.ifdef USE_GETTEXT
.error USE_GETTEXT is defined as an environment variable, or in the arguments \
to "make". Please unset it and restart the build.
.endif
.include <bsd.port.options.mk>
.if defined (NOPORTDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-nodocs
.endif
@ -62,7 +59,7 @@ pre-extract:
post-patch:
@${FIND} ${WRKSRC} -name configure -print | ${XARGS} \
${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|; s|gawk|awk|'
.if defined (NOPORTDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
.for dir in runtime tools
@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \
${WRKSRC}/gettext-${dir}/Makefile.in