aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
committerbsam <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
commit7b5950ceb07fbf7baff9cf5f999cb870df39056d (patch)
tree293dcbc9c7e5b5460095f0f0b868e1ead9528ded /databases
parentce8f3833463574b1140cd020d12c0b68cfcb0d83 (diff)
downloadfreebsd-ports-gnome-7b5950ceb07fbf7baff9cf5f999cb870df39056d.tar.gz
freebsd-ports-gnome-7b5950ceb07fbf7baff9cf5f999cb870df39056d.tar.zst
freebsd-ports-gnome-7b5950ceb07fbf7baff9cf5f999cb870df39056d.zip
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)
Diffstat (limited to 'databases')
-rw-r--r--databases/namazu2/Makefile2
-rw-r--r--databases/unixODBC/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/namazu2/Makefile b/databases/namazu2/Makefile
index 2175a470e2dd..bddbd8dadd7b 100644
--- a/databases/namazu2/Makefile
+++ b/databases/namazu2/Makefile
@@ -17,7 +17,7 @@ USES= gettext iconv perl5
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-perl5="${PERL}" \
--with-libintl-prefix=${LOCALBASE} \
- --with-libiconv-prefix=${LOCALBASE}
+ ${ICONV_CONFIGURE_ARG}
USE_LDCONFIG= yes
.include "${.CURDIR}/Makefile.common"
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index f71492ce566e..bf5954eb3e43 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -18,7 +18,7 @@ CONFLICTS= libiodbc-[0-9]*
USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static --enable-shared \
- --with-libiconv-prefix=${LOCALBASE}
+ ${ICONV_CONFIGURE_ARG}
USE_LDCONFIG= yes
PORTDOCS= *