Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2013 23:22:49 GMT
From:      Erick Turnquist <jhujhiti@adjectivism.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180136: databases/tdb installs to /usr/local rather than PREFIX
Message-ID:  <201306302322.r5UNMnoe056755@oldred.freebsd.org>
Resent-Message-ID: <201306302330.r5UNU0OD016846@freefall.freebsd.org>

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

>Number:         180136
>Category:       ports
>Synopsis:       databases/tdb installs to /usr/local rather than 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:   Sun Jun 30 23:30: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 tdb 'make install' attempts to install to /usr/local
>How-To-Repeat:
Set a non-default PREFIX and make -C /usr/ports/devel/tdb install
>Fix:
Patch to add --prefix to the configure args is attached.

Patch attached with submission follows:

--- /usr/ports/databases/tdb/Makefile.orig      2013-06-30 19:16:22.110793689 -0400
+++ /usr/ports/databases/tdb/Makefile   2013-06-30 19:16:47.279801286 -0400
@@ -50,7 +50,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?201306302322.r5UNMnoe056755>