openbsd-ports/editors/openoffice3/patches/patch-solenv_inc_libs_mk
robert f720b7a968 - update to openoffice.org 3.3rc3
- rework a port a little bit to be sync in the openoffice linux
  code and remove some hacks that we don't need anymore
- also use --as-needed while linking (which results in at least a 50% speed
  improovement)
- depend on more libraries from the system instead of using the internal
  ones
2010-11-09 18:40:04 +00:00

13 lines
577 B
Plaintext

$OpenBSD: patch-solenv_inc_libs_mk,v 1.6 2010/11/09 18:40:04 robert Exp $
--- solenv/inc/libs.mk.orig.port Fri Oct 29 12:40:20 2010
+++ solenv/inc/libs.mk Tue Nov 9 00:44:36 2010
@@ -203,7 +203,7 @@ ZLIB3RDLIB=-lz
ZLIB3RDLIB=-lzlib
.ENDIF
.IF "$(SYSTEM_JPEG)"=="YES"
-.IF "$(SOLAR_JAVA)" != "" && "$(JDK)" != "gcj" && "$(OS)" != "MACOSX"
+.IF "$(SOLAR_JAVA)" != "" && "$(JDK)" != "gcj" && "$(OS)" != "MACOSX" && "$(OS)" != "OPENBSD"
#i34482# Blackdown/Sun jdk is in the libsearch patch and has a libjpeg :-(
.IF "$(OS)" == "FREEBSD"
JPEG3RDLIB=/usr/local/lib/libjpeg.so