ports/183299: [PATCH] graphics/gscan2pdf: fails to build due to no Makefile

Lawrence Chen lchen at lhaven.homeip.net
Fri Oct 25 12:40:01 UTC 2013


>Number:         183299
>Category:       ports
>Synopsis:       [PATCH] graphics/gscan2pdf: fails to build due to no Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 12:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-ports-bugs mailing list