From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 21 16:50:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D19F758F for ; Wed, 21 May 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE03E28CA for ; Wed, 21 May 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LGo0mr021611 for ; Wed, 21 May 2014 16:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4LGo03V021601; Wed, 21 May 2014 16:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 21 May 2014 16:50:00 GMT Resent-Message-Id: <201405211650.s4LGo03V021601@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthieu Volat Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 896623BE for ; Wed, 21 May 2014 16:45:04 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76CC8289C for ; Wed, 21 May 2014 16:45:04 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LGj4Nf018562 for ; Wed, 21 May 2014 16:45:04 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4LGj45t018561; Wed, 21 May 2014 16:45:04 GMT (envelope-from nobody) Message-Id: <201405211645.s4LGj45t018561@cgiserv.freebsd.org> Date: Wed, 21 May 2014 16:45:04 GMT From: Matthieu Volat To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190078: [path] staging support for print/cups-pstoraster X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 16:50:01 -0000 >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: