diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 11812fa08bcd..f03404cec1f2 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -28,7 +28,8 @@ CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" \ - CXX="${CXX}" + CXX="${CXX}" \ + X11BASE="${X11BASE}" CONFIGURE_ARGS= --enable-threads=pthread --enable-shared INSTALLS_SHLIB= yes diff --git a/graphics/djvulibre/files/patch-configure b/graphics/djvulibre/files/patch-configure index 492f051b4b73..8ffc666deeb3 100644 --- a/graphics/djvulibre/files/patch-configure +++ b/graphics/djvulibre/files/patch-configure @@ -1,5 +1,14 @@ ---- configure.orig Tue Nov 1 02:34:47 2005 -+++ configure Fri Feb 10 16:26:00 2006 +--- configure.orig Mon Oct 31 19:34:47 2005 ++++ configure Tue Apr 18 13:55:47 2006 +@@ -486,7 +486,7 @@ + srcdir= + verbose= + x_includes=NONE +-x_libraries=NONE ++x_libraries=${X11BASE}/lib + + # Installation directory options. + # These are left unexpanded so users can "make install exec_prefix=/foo" @@ -26327,7 +26327,7 @@ then NSDEJAVU_CFLAGS=${X_CFLAGS}