diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-08-15 22:32:21 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-08-15 22:32:21 +0000 |
commit | d072a297220cd871c9763639a46185f013f15c66 (patch) | |
tree | b397bfd55f1b6313b14fbd2af8ed049fa4b7bf57 /editors/openoffice-3/Makefile | |
parent | - Fix path in last patch (diff) |
Now passes compilation for recent 4.8-STABLE and 5-CURRENT,
but still fails during/after the installtion :(
a) follow up to recent cvs checkout
(cws_srx645_ooo11rc3, 2003/08/15)
b) Use gcc33 from ports for both 4 and 5.
gcc-3.3 of 5-CURRENT seems to brake somewhere,
and recent version of OOo hits some internal
error of gcc-3.2.3.
c) remove --enable-gcc3, --with-os-version and --with-ant-home
gcc3 is deprecated, os version and ant home should be
detected automatically by configure(setting os version
had been dangerous, since difference can be seen between
/usr/include/osreldate.h and sysctl kern.osreldate)
however nowadays it is not so dangerous)
d) add build dependency for Xft and gtk-2.0.
Notes
Notes:
svn path=/head/; revision=87003
Diffstat (limited to 'editors/openoffice-3/Makefile')
-rw-r--r-- | editors/openoffice-3/Makefile | 52 |
1 files changed, 10 insertions, 42 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile index 8c3e09ad4969..136b174b0f2b 100644 --- a/editors/openoffice-3/Makefile +++ b/editors/openoffice-3/Makefile @@ -7,7 +7,7 @@ PORTNAME= openoffice PORTVERSION= 645 -SNAPDATE= 20030712 +SNAPDATE= 20030815 CATEGORIES+= editors MASTER_SITES+= http://projects.imp.ch/openoffice/%SUBDIR%/ \ http://people.freebsd.org/~maho/files/ \ @@ -38,7 +38,7 @@ PASTE?= /usr/bin/paste .include <bsd.port.pre.mk> -BROKEN= "Does not work yet, installation problems" +#BROKEN= "Does not work yet, installation problems" BUILD_NR= ${PORTVERSION} RELEASE_NR= 1.1 INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR} @@ -88,26 +88,10 @@ USE_LANG= ${LANG} LANG_SORTED=`${ECHO} ${LANG_LIST} | ${TR} " " "\n" | ${PASTE} -d " " - -` -.if ${OSVERSION} < 500000 -# -# OO build is broken with the system gcc on STABLE. -# -BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 -CC= gcc32 -CXX= g++32 -USE_GCC=3.2 -.endif - -.if ${OSVERSION} > 500000 -# -# OO is still broken with the system gcc on CURRENT. -# -.if defined(USE_GCC) && ${USE_GCC} == 3.2 -BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 -CC= gcc32 -CXX= g++32 -.endif -.endif +# OOo requires gcc 3.3 (not systems's gcc) +USE_GCC=3.3 # make no sense yet +CC= gcc33 +CXX= g++33 EXTRACT_ONLY= oo_${PORTVERSION}_src_${SNAPDATE}.tar.bz2 @@ -121,15 +105,12 @@ COMMENT= Integrated wordprocessor/dbase/spreadheet/drawing/chart/browser # following dependencies use the same JDK. # BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk14 - -#.if !defined(USE_GCC) -#BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport -#.endif BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant BUILD_DEPENDS+= ${X11BASE}/lib/libgdk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20 BUILD_DEPENDS+= ${X11BASE}/lib/libX11.so:${PORTSDIR}/x11/XFree86-4-libraries +BUILD_DEPENDS+= ${X11BASE}/lib/libXft.so:${PORTSDIR}/x11-fonts/Xft .if !defined(DISPLAY) BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer .endif @@ -154,6 +135,8 @@ JDKDIR?= ${LOCALBASE}/jdk1.4.1 JAVAVM= ${JDKDIR}/bin/java GNU_CONFIGURE= yes +USE_AUTOCONF= yes +WANT_AUTOCONF_VER= 253 WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work WRKSRC= ${WRKDIR}/oo_${PORTVERSION}_src/config_office LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ @@ -175,14 +158,7 @@ DISPLAYHACK=localhost:1001 CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ PTHREAD_LIBS=${PTHREAD_LIBS} - -CONFIGURE_ARGS+= --with-jdk-home=${JDKDIR} \ - --with-os-version=${OSVERSION} \ - --with-ant-home=${LOCALBASE} - -#.if !defined(USE_GCC) -#CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} -#.endif +CONFIGURE_ARGS+= --with-jdk-home=${JDKDIR} .if defined(WITH_DEBUG) .if ${WITH_DEBUG} == 2 @@ -190,14 +166,6 @@ CONFIGURE_ARGS+= --enable-debug .endif .endif -.if defined(USE_GCC) && (${USE_GCC} == 3.1 || ${USE_GCC} == 3.2) -CONFIGURE_ARGS+= --enable-gcc3 -.endif - -.if ${OSVERSION} > 500000 && !defined(USE_GCC) -CONFIGURE_ARGS+= --enable-gcc3 -.endif - pre-fetch: @${ECHO} .if !defined(LANG) |