Date: Wed, 10 Oct 2012 14:37:58 GMT From: Kris Moore <kris@pcbsd.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172579: ports: print/cups-base wont build with xpdf option enabled Message-ID: <201210101437.q9AEbwLZ018343@red.freebsd.org> Resent-Message-ID: <201210102258.q9AMwUAu003834@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172579 >Category: ports >Synopsis: ports: print/cups-base wont build with xpdf option enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 10 22:58:29 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kris Moore >Release: 9.1-RC1 >Organization: iXsystems / PC-BSD >Environment: FreeBSD pcbsd-1196 9.1-RC1 FreeBSD 9.1-RC1 #0: Thu Aug 9 09:41:50 PDT 2012 root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >Description: When building cups-base with the XPDF option instead of ghostscript it fails to detect if xpdf is already installed, and keeps trying to re-install it. >How-To-Repeat: Build with XPDF option. >Fix: Looks like the bug is right here: BUILD_DEPENDS+= pdftops:${PORTSDIR}/graphics/xpdf RUN_DEPENDS+= pdftops:${PORTSDIR}/graphics/xpdf Attached patch fixes the issue. Patch attached with submission follows: --- Makefile.o 2012-10-10 10:34:50.903026888 -0400 +++ Makefile 2012-10-10 10:35:45.680124176 -0400 @@ -155,8 +155,8 @@ CONFIGURE_ARGS+= --enable-pdftops --with-pdftops=${LOCALBASE}/bin/gs PLIST_SUB+= WITH_PDFTOPS="" .elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MXPDF} -BUILD_DEPENDS+= pdftops:${PORTSDIR}/graphics/xpdf -RUN_DEPENDS+= pdftops:${PORTSDIR}/graphics/xpdf +BUILD_DEPENDS+= ${LOCALBASE}/libexec/xpdf/pdftops:${PORTSDIR}/graphics/xpdf +RUN_DEPENDS+= ${LOCALBASE}/libexec/xpdf/pdftops:${PORTSDIR}/graphics/xpdf CONFIGURE_ARGS+= --enable-pdftops --with-pdftops=${LOCALBASE}/libexec/xpdf/pdftops PLIST_SUB+= WITH_PDFTOPS="" .else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210101437.q9AEbwLZ018343>