El domingo 01 de abril a las 00:03:23 CEST, Eric P. Scott escribió:
> Let's try that again, without the missing-hyphen typo:
>
> .if defined(WITH_LIBPAPER)
> LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
> CONFIGURE_ARGS+= --with-libpaper-library="${LOCALBASE}/lib" \
> --with
Let's try that again, without the missing-hyphen typo:
.if defined(WITH_LIBPAPER)
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
CONFIGURE_ARGS+=--with-libpaper-library="${LOCALBASE}/lib" \
--with-libpaper-includes="${LOCALBASE}/include"
.else
CONFIGURE_ARGS+=--
Try inserting something like this before ".if defined(A4)" in the
port's Makefile:
.if defined(WITH_LIBPAPER)
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
CONFIGURE_ARGS+=-with-libpaper-library="${LOCALBASE}/lib" \
--with-libpaper-includes="${LOCALBASE}/include"
.els
Hi
I think that graphics/xpdf holds a hide depend with print/libpaper.
Suppose you have print/libpaper port installed and you build xpdf with
A4 option. Then you get:
$ ldd /usr/X11R6/bin/xpdf | grep libpaper
libpaper.so.2 => /usr/local/lib/libpaper.so.2 (0x285ab000)
but libpaper is no