Date: Sat, 12 Sep 2009 17:24:22 +0200 (CEST) From: Mel Flynn <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <pgollucci@FreeBSD.org> Subject: ports/138762: [PATCH] devel/apr: fix build as unprivileged user Message-ID: <20090912152422.BE995844AA@smoochies.rachie.is-a-geek.net> Resent-Message-ID: <200909121550.n8CFo4lc041614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138762 >Category: ports >Synopsis: [PATCH] devel/apr: fix build as unprivileged user >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 12 15:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.0-BETA4 i386 >Organization: >Environment: System: FreeBSD smoochies.rachie.is-a-geek.net 8.0-BETA4 FreeBSD 8.0-BETA4 #14 r196875M: Mon Sep 7 18:00:45 CEST 2009 mel@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/HPDV9000 i386 >Description: - libtool files on FreeBSD are installed read-only - apr's buildconf script copies the libtool files then tries a shell redirect into the copied files. - Because an unprivileged user is not allowed to do that, build fails down the road. Priority set high, as this should IMO be in 8.0-RELEASE ports. >How-To-Repeat: As unprivileged user make -C /usr/ports/devel/apr build >Fix: --- patch-apr begins here --- --- /dev/null 2009-08-12 08:33:00.000000000 -0800 +++ devel/apr/files/patch-buildconf 2009-08-12 08:32:46.000000000 -0800 @@ -0,0 +1,11 @@ +--- apr-1.3.8/buildconf.orig 2009-08-12 08:28:47.000000000 -0800 ++++ apr-1.3.8/buildconf 2009-08-12 08:31:45.000000000 -0800 +@@ -71,6 +71,7 @@ + + echo "buildconf: Using libtool.m4 at ${ltfile}." + ++rm -f build/libtool.m4 + cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4 + + # libtool.m4 from 1.6 requires ltsugar.m4 + --- patch-apr ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090912152422.BE995844AA>