Bug 181046 - www/p5-Apache-AuthCookie fails to build
Summary: www/p5-Apache-AuthCookie fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 06:40 UTC by Erick Turnquist
Modified: 2013-08-05 07:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erick Turnquist 2013-08-05 06:40:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-05 06:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-08-05 06:58:41 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"
Comment 3 Andrej Zverev freebsd_committer freebsd_triage 2013-08-05 07:00:33 UTC
State Changed
From-To: open->closed

Issue resolved