ports/172579: ports: print/cups-base wont build with xpdf option enabled
Kris Moore
kris at pcbsd.org
Wed Oct 10 22:58:30 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list