aboutsummaryrefslogtreecommitdiffstats
path: root/print/cjk-lyx
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-08-16 20:38:15 +0800
committerdelphij <delphij@FreeBSD.org>2007-08-16 20:38:15 +0800
commite71b58da0814f1e3eef87437ab30c03790d613a8 (patch)
treea2054e065b391bc27af7ad97e151f8caea9612b6 /print/cjk-lyx
parent0d5c0a4ff26ed356290744cf0f7f2a1f94925657 (diff)
downloadfreebsd-ports-gnome-e71b58da0814f1e3eef87437ab30c03790d613a8.tar.gz
freebsd-ports-gnome-e71b58da0814f1e3eef87437ab30c03790d613a8.tar.zst
freebsd-ports-gnome-e71b58da0814f1e3eef87437ab30c03790d613a8.zip
Unbreak: Use bundled (older) boost instead of the one installed
by ports. Submitted by: maintainer PR: ports/115521
Diffstat (limited to 'print/cjk-lyx')
-rw-r--r--print/cjk-lyx/Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index d1b7f591331d..7f3b5c5c2d1c 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: lyx
+# New ports collection makefile for: cjk-lyx
# Date created: Sa 12 Okt 1996 19:20:51 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
@@ -7,7 +7,7 @@
PORTNAME= lyx
PORTVERSION= 1.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print chinese japanese korean
MASTER_SITES= ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/ \
ftp://ftp.u-aizu.ac.jp/pub/tex/cjk-lyx/qt/ \
@@ -30,8 +30,6 @@ LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost \
qt-mt:${PORTSDIR}/x11-toolkits/qt33
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf
-BROKEN= Does not build
-
OPTIONS= ASPELL "Utilize ASPELL library" on \
ISPELL "Depend on ISPELL as well" off
.if defined(LANG) && ${LANG:C/_.*//} == "ja"
@@ -47,16 +45,12 @@ USE_PYTHON= yes
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch] --exclude ${PORTNAME}-${PORTVERSION}/boost
CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \
- --without-included-boost \
--with-extra-inc="${LOCALBASE}/include" \
--with-frontend=qt \
--program-prefix="${PKGNAMEPREFIX}"
CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS}
CFLAGS= ${PTHREAD_CFLAGS}
-MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
- AUTOHEADER="${TRUE}"
MAN1= ${PKGNAMEPREFIX}lyx.1 ${PKGNAMEPREFIX}tex2lyx.1 ${PKGNAMEPREFIX}lyxclient.1
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
@@ -67,17 +61,6 @@ MAKE_ENV= TMPDIR=/tmp
post-extract:
${MV} ${WRKSRC}/po/lyx.pot ${WRKSRC}/po/${PKGNAMEPREFIX}lyx.pot
-post-patch:
- # Removing mention of the bundled boost
- ${REINPLACE_CMD} -e 's, boost/[^ ]*Makefile,,g' ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's,detail/nullstream,utils/nullstream,' \
- ${WRKSRC}/src/pch.h ${WRKSRC}/src/support/pch.h \
- ${WRKSRC}/src/support/debugstream.h
- ${REINPLACE_CMD} -e 's,boost/regex\.hpp,boost/cregex.hpp,' \
- ${WRKSRC}/src/support/filetools.C
- ${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \
- ${WRKSRC}/src/support/tests/test_*
-
post-configure:
# Removing explicit linking with -lc
${REINPLACE_CMD} -e 's,-lc ,,' ${WRKSRC}/*/Makefile