From lchen@zen.lhaven.homeip.net  Fri Oct 25 12:35:25 2013
Return-Path: <lchen@zen.lhaven.homeip.net>
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 ESMTP id C0150BDD
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Oct 2013 12:35:25 +0000 (UTC)
	(envelope-from lchen@zen.lhaven.homeip.net)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 93EC6233C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Oct 2013 12:35:24 +0000 (UTC)
Received: from ip70-179-133-134.fv.ks.cox.net ([70.179.133.134] helo=zen.lhaven.homeip.net)
	by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.72)
	(envelope-from <lchen@zen.lhaven.homeip.net>)
	id 1VZgbm-000NiY-2i
	for FreeBSD-gnats-submit@freebsd.org; Fri, 25 Oct 2013 12:35:18 +0000
Received: from zen.lhaven.homeip.net (localhost [127.0.0.1])
	by zen.lhaven.homeip.net (8.14.7/8.14.7) with ESMTP id r9PCZF5O079407;
	Fri, 25 Oct 2013 07:35:15 -0500 (CDT)
	(envelope-from lchen@zen.lhaven.homeip.net)
Received: (from lchen@localhost)
	by zen.lhaven.homeip.net (8.14.7/8.14.7/Submit) id r9PCZAHs079406;
	Fri, 25 Oct 2013 07:35:10 -0500 (CDT)
	(envelope-from lchen)
Message-Id: <201310251235.r9PCZAHs079406@zen.lhaven.homeip.net>
Date: Fri, 25 Oct 2013 07:35:10 -0500 (CDT)
From: Lawrence Chen <lchen@zen.lhaven.homeip.net>
Reply-To: Lawrence Chen <beastie@tardisi.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: beastie_t@zen.lhaven.homeip.net
Subject: [PATCH] graphics/gscan2pdf: fails to build due to no Makefile
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         183299
>Category:       ports
>Synopsis:       [PATCH] graphics/gscan2pdf: fails to build due to no Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 12:40:00 UTC 2013
>Closed-Date:    Wed Feb 26 13:09:12 UTC 2014
>Last-Modified:  Wed Feb 26 13:09:12 UTC 2014
>Originator:     Lawrence Chen
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	A while back I had wanted to rebuild to this port to see if it
	would resolve a problem was due to not rebuilding after upgrading
	perl.  But, was unable to do so.  So, deferred investigation.

	Now with the switch of the default perl to 5.16, I've been rebuilding
	ports that depend on perl and came back to this problem.

	It fails with:

	===>  Building for gscan2pdf-1.0.4_1
	gmake: Makefile: No such file or directory
	gmake: *** No rule to make target `Makefile'.  Stop.
	===> Compilation failed unexpectedly.
	Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
	the maintainer.
	*** [do-build] Error code 1

>How-To-Repeat:
	Using portmaster, or just make in the ports directory, results in this
	error.
>Fix:

	

	See patch.

--- patch begins here ---
--- Makefile.orig	2013-09-20 13:35:44.000000000 -0500
+++ Makefile	2013-10-25 07:13:43.347543387 -0500
@@ -64,7 +64,7 @@
 
 USES=		gmake perl5
 USE_GNOME=	gtk20 librsvg2
-PERL5=		configure
+USE_PERL5=	configure
 MAN1=		${PORTNAME}.1 scanadf-perl.1 scanimage-perl.1
 PORT_VERBS=	${PORTNAME} Gscan2pdf
 
--- patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Oct 25 12:40:16 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183299 
State-Changed-From-To: open->closed 
State-Changed-By: marino 
State-Changed-When: Wed Feb 26 13:09:11 UTC 2014 
State-Changed-Why:  
Fixed 1 Nov 2013 independently 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183299 
>Unformatted:
