From owner-freebsd-ports@FreeBSD.ORG Sat Mar 31 21:57:35 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5255C16A404 for ; Sat, 31 Mar 2007 21:57:35 +0000 (UTC) (envelope-from eps@anna.ana.com) Received: from anna.ana.com (anna.ana.com [208.69.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 24FBB13C448 for ; Sat, 31 Mar 2007 21:57:35 +0000 (UTC) (envelope-from eps@anna.ana.com) Received: from anna.ana.com (localhost [127.0.0.1]) by anna.ana.com (8.13.8/8.13.8) with ESMTP id l2VLuY3e001701 for ; Sat, 31 Mar 2007 14:56:34 -0700 (PDT) Received: (from eps@localhost) by anna.ana.com (8.13.8/8.13.8/Submit) id l2VLuYMh001700; Sat, 31 Mar 2007 14:56:34 -0700 (PDT) Date: Sat, 31 Mar 2007 14:56:34 -0700 (PDT) Message-Id: <200703312156.l2VLuYMh001700@anna.ana.com> From: eps+pqry0703@ana.com (Eric P. Scott) To: ports@freebsd.org In-Reply-To: <20070331123100.GB70881@gauss.sanabria.es> References: <20070331123100.GB70881@gauss.sanabria.es> Cc: Subject: Re: hide dependency in graphics/xpdf port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 21:57:35 -0000 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=-