From nobody@FreeBSD.org  Mon Aug  5 05:33:50 2013
Return-Path: <nobody@FreeBSD.org>
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 ESMTP id 1194AB55
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2013 05:33:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id F3D7C293D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Aug 2013 05:33:49 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r755Xn9Q070272
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Aug 2013 05:33:49 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r755Xn2Z070269;
	Mon, 5 Aug 2013 05:33:49 GMT
	(envelope-from nobody)
Message-Id: <201308050533.r755Xn2Z070269@oldred.freebsd.org>
Date: Mon, 5 Aug 2013 05:33:49 GMT
From: Erick Turnquist <jhujhiti@adjectivism.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/p5-Apache-AuthCookie fails to build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181046
>Category:       ports
>Synopsis:       www/p5-Apache-AuthCookie fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 05:40:00 UTC 2013
>Closed-Date:    Mon Aug 05 06:00:34 UTC 2013
>Last-Modified:  Mon Aug 05 06:00:34 UTC 2013
>Originator:     Erick Turnquist
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD rhea 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #2: Wed Jun 19 20:34:32 UTC 2013     root@rhea:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
It looks like this was broken with SVN revision 324174. The distfile does not contain a pre-baked Makefile, causing builds to fail with:

===>  Building for p5-Apache-AuthCookie-3.19
make: cannot open Makefile.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/www/p5-Apache-AuthCookie.

-----

I worked around this by adding this to the Makefile:

pre-build:
	@(cd ${BUILD_WRKSRC}; perl Makefile.PL)

-----

This generates the Makefile so the port can build. I'm not sure if this is an upstream bug or not, but it seems to me that we should be the ones generating that Makefile.
>How-To-Repeat:
portsnap update and attempt to build the port
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Aug 5 05:40:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181046 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181046: commit references a PR
Date: Mon,  5 Aug 2013 05:58:41 +0000 (UTC)

 Author: az
 Date: Mon Aug  5 05:58:29 2013
 New Revision: 324259
 URL: http://svnweb.freebsd.org/changeset/ports/324259
 
 Log:
   - Fix port build
   
   PR:		ports/181046
   Submitted by:	Erick Turnquist <jhujhiti@adjectivism.org>
 
 Modified:
   head/www/p5-Apache-AuthCookie/Makefile
 
 Modified: head/www/p5-Apache-AuthCookie/Makefile
 ==============================================================================
 --- head/www/p5-Apache-AuthCookie/Makefile	Mon Aug  5 03:29:25 2013	(r324258)
 +++ head/www/p5-Apache-AuthCookie/Makefile	Mon Aug  5 05:58:29 2013	(r324259)
 @@ -16,14 +16,14 @@ BUILD_DEPENDS=	${APACHE_PKGNAMEPREFIX}mo
  RUN_DEPENDS:=	${BUILD_DEPENDS}
  
  USE_APACHE=	22+
 +USES=		perl5
 +USE_PERL5=	configure
  
  .include <bsd.port.pre.mk>
  
  CURUSER?=	`whoami`
  CURGRP?=	`groups | ${AWK} '{print $$1}'`
  TESTPORT?=	8228
 -USES=		perl5
 -USE_PERL5=	configure
  CONFIGURE_ENV+=	APACHE="${HTTPD}" \
  		TESTUSER="${CURUSER}" \
  		TESTGRP="${CURGRP}" \
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: az 
State-Changed-When: Mon Aug 5 06:00:33 UTC 2013 
State-Changed-Why:  
Issue resolved 

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