aboutsummaryrefslogtreecommitdiffstats
path: root/print/lyx/Makefile
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 /print/lyx/Makefile
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 'print/lyx/Makefile')
-rw-r--r--print/lyx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 3dc1e04612a8..ebeac82c0563 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -23,7 +23,7 @@ CONFLICTS= lyx-1.[0-9]*
MAJOR_VERSION= 2.0
MINOR_VERSION= 6
-USES= gmake pkgconfig
+USES= gmake iconv pkgconfig
USE_XZ= yes
USE_QT4= corelib gui moc_build uic_build rcc_build
USE_GNOME= desktopfileutils
@@ -34,7 +34,7 @@ CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS= --without-included-boost \
--without-included-mythes \
- --with-libiconv-prefix=${LOCALBASE} \
+ ${ICONV_CONFIGURE_ARG} \
--with-extra-prefix=${LOCALBASE}
MAN1= lyx.1 lyxclient.1 tex2lyx.1