ports/181046: www/p5-Apache-AuthCookie fails to build

Erick Turnquist jhujhiti at adjectivism.org
Mon Aug 5 05:40:01 UTC 2013


>Number:         181046
>Category:       ports
>Synopsis:       www/p5-Apache-AuthCookie fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 05:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-ports-bugs mailing list