Date: Wed, 21 May 2014 16:45:04 GMT From: Matthieu Volat <mazhe@alkumuna.eu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190078: [path] staging support for print/cups-pstoraster Message-ID: <201405211645.s4LGj45t018561@cgiserv.freebsd.org> Resent-Message-ID: <201405211650.s4LGo03V021601@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190078 >Category: ports >Synopsis: [path] staging support for print/cups-pstoraster >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 21 16:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthieu Volat >Release: FreeBSD-10.0-p1 >Organization: - >Environment: FreeBSD freedom.alkumuna.eu 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: As of today, print/cups-pstoraster do not support staging despite mandatory usage required before end of june 2014. >How-To-Repeat: make -C /usr/ports/print/cups-pstoraster stage >Fix: Here's a patch that add staging and fix a few things based on portlint suggestion. Index: Makefile =================================================================== --- Makefile (revision 354653) +++ Makefile (working copy) @@ -13,8 +13,10 @@ MAINTAINER= rea@FreeBSD.org COMMENT= Postscript interpreter for CUPS printing to non-PS printers -LIB_DEPENDS= cupsimage.2:${PORTSDIR}/print/cups-image +LICENSE= GPLv2 +LIB_DEPENDS= libcupsimage.so:${PORTSDIR}/print/cups-image + .if defined(WITH_CJK) RUN_DEPENDS+= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light:${PORTSDIR}/japanese/font-std \ ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts @@ -40,7 +42,6 @@ DEVICE_DEVS="\$$(DD)cups.dev \$$(DD)pxlcolor.dev \$$(DD)pxlmono.dev" PLIST_SUB= GS_VERSION="${GS_VERSION}" -NO_STAGE= yes pre-everything:: .if !defined(WITH_CJK) @${ECHO_MSG} "" @@ -69,6 +70,8 @@ s|^gssharedir = @libdir@/ghostscript|gssharedir = @libdir@/espgs| ; \ s|^gsdir = @datadir@/ghostscript|gsdir = @datadir@/espgs|' \ ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|$$(install_prefix)|$$(DESTDIR)/$$(install_prefix)|g;' \ + ${WRKSRC}/*/*.mak pre-build: ${MKDIR} ${WRKSRC}/bin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405211645.s4LGj45t018561>