Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2013 05:33:49 GMT
From:      Erick Turnquist <jhujhiti@adjectivism.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181046: www/p5-Apache-AuthCookie fails to build
Message-ID:  <201308050533.r755Xn2Z070269@oldred.freebsd.org>
Resent-Message-ID: <201308050540.r755e0qV055914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308050533.r755Xn2Z070269>