summaryrefslogtreecommitdiff
path: root/print
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 /print
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 'print')
-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