Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 20:15:13 GMT
From:      Erick Turnquist <jhujhiti@adjectivism.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180102: talloc does not install to PREFIX
Message-ID:  <201306292015.r5TKFDB8087504@oldred.freebsd.org>
Resent-Message-ID: <201306292020.r5TKK0ZC027537@freefall.freebsd.org>

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

>Number:         180102
>Category:       ports
>Synopsis:       talloc does not install to PREFIX
>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:   Sat Jun 29 20:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Erick Turnquist
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD pkg-test 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:
My make.conf contains:

PREFIX=/usr/pkg
LOCALBASE=/usr/pkg

the talloc 'make install' target ends up installing to /usr/local
>How-To-Repeat:
Set a non-default PREFIX and make -C /usr/ports/devel/talloc install
>Fix:
Patch to add --prefix to the configure args is attached.

Patch attached with submission follows:

--- Makefile.orig    2013-05-22 22:23:34.000000000 -0400
+++ Makefile.patched     2013-06-29 15:52:35.870779974 -0400
@@ -44,7 +44,7 @@
 CONFIGURE_ENV+=                NOCOLOR=yes
 MAKE_ENV+=             NOCOLOR=yes
 
-CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man
+CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man --prefix=${PREFIX}
 
 .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE)
 .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)


>Release-Note:
>Audit-Trail:
>Unformatted:



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