$OpenBSD: patch-solenv_inc_libs_mk,v 1.7 2008/04/28 11:18:46 robert Exp $
--- solenv/inc/libs.mk.orig.port	Wed Dec 12 14:15:14 2007
+++ solenv/inc/libs.mk	Wed Apr 23 15:24:06 2008
@@ -210,7 +210,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
