summaryrefslogtreecommitdiff
path: root/lang/gawk
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-04 20:01:05 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-04 20:01:05 +0000
commit9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2 (patch)
tree293dcbc9c7e5b5460095f0f0b868e1ead9528ded /lang/gawk
parentRe-add the missing CFLAGS and LDFLAGS. (diff)
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems before 100043 with ports libiconv and to use at systems post 100043 with base iconv it's value is "" (NULL). Co-authors: bapt, madpilot and bsam (me)
Notes
Notes: svn path=/head/; revision=326316
Diffstat (limited to 'lang/gawk')
-rw-r--r--lang/gawk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index a01d1ec07ac4..66f27a3b7373 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -18,7 +18,8 @@ INFO= gawk gawkinet
USE_XZ= true
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+USES= iconv
+CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE} \
AWK=${AWK}