From 06b64e4e1e0573b6d3ad18593be27e869af45fb7 Mon Sep 17 00:00:00 2001 From: mbr Date: Thu, 27 Mar 2003 09:41:44 +0000 Subject: OOo1.1 seems to link against a lib in the jdk. OOo will still run without this library, but for compile it is definitly needed. Remove the linux jdk dependency and use again our native one. --- editors/openoffice-3-devel/Makefile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'editors/openoffice-3-devel') diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile index c10f8d2b70b..872c471253a 100644 --- a/editors/openoffice-3-devel/Makefile +++ b/editors/openoffice-3-devel/Makefile @@ -118,11 +118,7 @@ COMMENT= Integrated wordprocessor/dbase/spreadheet/drawing/chart/browser # The JDK dependency needs to be at the first place, so all # following dependencies use the same JDK. # -.if !defined(WITH_BSD_JDK) -BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk14 -.else BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk14 -.endif #.if !defined(USE_GCC) #BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport @@ -145,11 +141,7 @@ EXTRACT_AFTER_ARGS_R= | ${TAR} -xf - EXTRACT_CMD_R= ${GZIP_CMD} EXTRACT_REST= gpc231.tar.Z -.if !defined(WITH_BSD_JDK) -JDKDIR?= ${LOCALBASE}/linux-sun-jdk1.4.1 -.else -JDKDIR?= ${LOCALBASE}/jdk1.4.1 -.endif +JDKDIR= ${LOCALBASE}/jdk1.4.1 JAVAVM= ${JDKDIR}/bin/java GNU_CONFIGURE= yes @@ -184,10 +176,6 @@ CONFIGURE_ARGS+= --with-jdk-home=${JDKDIR} \ #CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX} #.endif -.if !defined(WITH_BSD_JDK) -CONFIGURE_ARGS+= --enable-linuxjdk=yes -.endif - .if defined(WITH_DEBUG) .if ${WITH_DEBUG} == 2 CONFIGURE_ARGS+= --enable-debug @@ -236,14 +224,6 @@ pre-fetch: @${ECHO} "to compile openoffice with your" @${ECHO} "prefered compiler." .endif -.if !defined(WITH_BSD_JDK) - @${ECHO} - @${ECHO} "If you like to use the native BSD" - @${ECHO} "JDK for the build system, you can use" - @${ECHO} "WITH_BSD_JDK=TRUE to disable the" - @${ECHO} "usage of the linux-JDK and linux dependency." - @${ECHO} -.endif .if !defined(WITH_DEBUG) @${ECHO} @${ECHO} "You can compile OO with debug symbols" -- cgit