Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2007 14:56:34 -0700 (PDT)
From:      eps+pqry0703@ana.com (Eric P. Scott)
To:        ports@freebsd.org
Subject:   Re: hide dependency in graphics/xpdf port
Message-ID:  <200703312156.l2VLuYMh001700@anna.ana.com>
In-Reply-To: <20070331123100.GB70881@gauss.sanabria.es>
References:  <20070331123100.GB70881@gauss.sanabria.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
.else
CONFIGURE_ARGS+=	--without-libpaper-library
.endif


If that solves the problem, submit a Followup to PR ports/110058
with the additional logic so it can be incorporated in the
upgrade to xpdf 3.02.

(Using A4 is not a factor here.)

					-=EPS=-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703312156.l2VLuYMh001700>