openbsd-ports/graphics/imlib2/patches/patch-configure_in
2005-06-23 17:46:52 +00:00

22 lines
734 B
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2005/06/23 17:46:52 fgsch Exp $
--- configure.in.orig Mon Aug 30 23:46:15 2004
+++ configure.in Thu Jun 23 05:38:14 2005
@@ -214,7 +214,7 @@ dnl /here was freetype headers checking
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_CHECK_LIB(ltdl, lt_dlopen, ltdlopen_libs=-lltdl)
-EXTRA_LIBS="-L/usr/local/lib -L/usr/X11R6/lib"
+EXTRA_LIBS=""
# Test for libjpeg
AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
@@ -255,7 +255,7 @@ if test "$png_ok" = yes; then
AC_MSG_RESULT($png_ok)
if test "$png_ok" = yes; then
PNGLIBS="-lpng -lz -lm"
- REQUIREMENTS=libpng12
+ REQUIREMENTS=libpng
else
AC_MSG_WARN(*** Native PNG support will not be built (PNG header file not found) ***)
fi